Commit graph

68 commits

Author SHA1 Message Date
Jakub Vrana
779ebcf90f Class constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196426 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-20 08:22:29 +00:00
Wez Furlong
00c0c9154d rename pdo_drivers() to PDO::getAvailableDrivers as part of namespacing sweep before 1.0 stable.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196299 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-18 14:17:32 +00:00
Wez Furlong
34a6bc84d6 All these methods are stable.
Note: getColumnMeta is not stable; the warning was intentionally left there.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195768 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-11 06:22:26 +00:00
Wez Furlong
43652dbc98 Document new bindValue() method.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195721 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-10 16:39:21 +00:00
Dan Scott
28c4e8026e Document PDO_FETCH_COLUMN, PDO_FETCH_UNIQUE, and PDO_FETCH_GROUP.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194700 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-31 01:33:45 +00:00
Dan Scott
49407b3713 Emphasize the usefulness of prepared statements vs. quoted input.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194698 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-31 00:56:35 +00:00
Dan Scott
afd947e79a Use preferred comment style in examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194305 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-24 11:13:06 +00:00
Dan Scott
086aa9f025 Update to new doc style (not sure how I missed this one).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194304 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-24 11:08:59 +00:00
Dan Scott
954fa71e2e Address bug 34231 (MySQL doesn't handle DDL in transactions).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194303 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-24 11:07:45 +00:00
Dan Scott
0f3b624569 Begin splitting PDO driver docs into separate manual sections.
Implement sorted Function Reference section of manual table of contents;
  this may need more work for non-English manuals.
Fix mysqli title so it sorts correctly in sorted table of contents.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@193133 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-12 02:03:50 +00:00
Jakub Vrana
5984f37261 Returns PDOStatement
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190549 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-12 09:02:33 +00:00
Dan Scott
4c7bb09626 Typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190488 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-11 12:31:57 +00:00
Wez Furlong
ffc3345912 misc tweaks
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190460 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-11 04:38:55 +00:00
Dan Scott
8381f855ac More guidance on when closeCursor() is useful.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190456 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-11 03:28:34 +00:00
Dan Scott
adf6aa4296 PDO-lastInsertID() returns last value of sequence object.
Document PDOStatement-closeCursor().


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190331 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-09 05:19:02 +00:00
Jakub Vrana
645fd2b928 Too many binding
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190156 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-07 15:58:47 +00:00
Dan Scott
d361700692 Remove ambiguous reference to 'second'. You can retrieve any column,
but only one of them :)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190040 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-06 20:33:57 +00:00
Jakub Vrana
76c50aaa7e Missed parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188551 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-16 15:04:28 +00:00
Jakub Vrana
1dc9701713 Initial documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188538 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-16 13:12:41 +00:00
Dan Scott
0c6bee02b0 Make use of the existing entity for this problem.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187293 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-30 01:33:12 +00:00
Dan Scott
8660034061 Silly writer, PHP doesn't have longs :)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187115 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-27 18:53:28 +00:00
Dan Scott
4295850f9b Add warning about not abusing the return value of PDO::exec.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187114 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-27 18:23:15 +00:00
Dan Scott
8dd919817d PDOStatement::fetchSingle becomes PDOStatement::fetchColumn.
Add new parameter to PDOStatement::fetchColumn.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@186675 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-20 18:51:02 +00:00
Jakub Vrana
8a5f2d9f34 Fix PHP parse errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185785 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-04 13:59:45 +00:00
Jakub Vrana
3d55b0e7c1 Remove doubled words
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185283 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-27 14:20:09 +00:00
Jakub Vrana
147c065529 Remove double article
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184768 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-20 14:05:09 +00:00
Dan Scott
070bd96142 Document PDOStatement::nextRowset so I don't forget about it again
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184044 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-09 15:57:10 +00:00
Dan Scott
6317015671 Document how to pass a NULL value to a prepared statement.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182771 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-24 12:48:18 +00:00
Dan Scott
6d0afd7f43 Add restriction against using named and ? params in a single SQL statement.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182664 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-22 21:52:46 +00:00
Dan Scott
6f48276019 Commit correction contributed by King Wez.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181736 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-10 00:02:49 +00:00
Dan Scott
af7c5f5ccb Take a stab at documenting this based on PDO 0.3 beta release notes.
An actual test case would be nice :)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181734 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-09 23:29:35 +00:00
Dan Scott
70fa40b116 Actually document PDOStatement::getColumnMeta.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181669 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-09 00:17:15 +00:00
Dan Scott
3c4e14b903 Add link to columnCount.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181638 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-08 15:38:57 +00:00
Dan Scott
98b9b722e8 Add an example for counting rows in SELECT statements.
Probably still need to apply a <blink> tag to this.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181049 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-01 00:37:59 +00:00
Dan Scott
667fa1cc3f Add new constants.
Explain how INOUT and OUT parameters work in bindParam.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@180769 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-25 14:47:45 +00:00
Sean Coates
9cd68cffa8 changed return type (PDO_FETCH_OBJ returns an object)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@180345 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-21 15:00:03 +00:00
Aidan Lister
bf9cc979aa Add note about alias usage
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@180160 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-20 05:47:01 +00:00
Aidan Lister
6fc54cd618 Added information about each drivers DSN
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@180159 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-20 05:37:59 +00:00
Dave Barr
009d44bfcf Fix minor spelling/punctuation mistakes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179740 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-14 04:13:17 +00:00
Dan Scott
e6ea98eb16 Add an example to PDO::query.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179529 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-11 01:31:12 +00:00
Dan Scott
1826d890cd Document PDO::quote() (within 24 hours of it being added to PDO -- hurray!)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179435 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-10 04:30:50 +00:00
Dan Scott
55a668cc6a Bring installation instructions into line with current reality.
Flag username and password parameters as optional for the ctor.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179349 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-09 17:20:15 +00:00
Dan Scott
0b4047e556 Document and add an example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179003 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-06 17:49:01 +00:00
Dan Scott
0c1bedcdde Document new parameters in PDOStatement::fetch that allow for scrollable
cursors, and add an example of how to use scrollable cursors (finally!).
Add examples for the transaction functions.
Correct a typo in the constants.
Adopt more reference template goodness throughout.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@178958 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-05 18:52:58 +00:00
Dan Scott
47febed813 Continue the conversion to the new reference template.
Add another couple of constants, and update the PDOStatement
error functions to reflect the new reality.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@178485 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-29 04:28:40 +00:00
Dan Scott
2cb3ea809a Update PDO::errorCode and PDO::errorInfo to reflect current reality.
Continue conversion to new reference template.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@178300 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-26 14:41:31 +00:00
Dan Scott
e05f5d938a Correct constants.xml typo.
Migrate construct to new template.
Correct rowCount example.
Add setFetchMode documentation.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@178285 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-26 05:35:40 +00:00
Dan Scott
65a76681a9 Document constants, bindColumn, and lastInsertID.
Correct minor errors in prepare and fetch.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@178071 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-24 03:11:02 +00:00
Dan Scott
06748b6a71 Flesh out PDO::exec, add new files based on xml_proto skeletons.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@177507 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-18 03:16:39 +00:00
Dan Scott
017be95eee Document database handle error methods.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@173554 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-26 20:12:46 +00:00