note 106619 added to sqlite3result.columntype
| From: | phpnotes at carwash dot org | Date: | Tue, 22 Nov 2011 18:44:33 +0000 |
| Subject: | note 106619 added to sqlite3result.columntype | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184624@lists.php.net to get a copy of this message | ||
This function never returns any value other than 5, indicating SQLITE3_NULL. SQLite 3 doesn't
have column types, it has column affinities. Different rows of the same table (and rows resulting
from a SELECT) can hold values of different types. Therefore this API cannot return anything
useful, and the method appears to be using SQLITE3_NULL as a placeholder.
The function in useless and should be removed or marked as deprecated in future releases, so as not
to give any programmer the false idea that the values returned are useful.
----
Server IP: 69.147.83.197
Probable Submitter: 194.80.32.11 (proxied: 148.88.169.222)
----
Manual Page -- http://www.php.net/manual/en/sqlite3result.columntype.php
Edit -- https://master.php.net/note/edit/106619
Del: integrated -- https://master.php.net/note/delete/106619/integrated
Del: useless -- https://master.php.net/note/delete/106619/useless
Del: bad code -- https://master.php.net/note/delete/106619/bad+code
Del: spam -- https://master.php.net/note/delete/106619/spam
Del: non-english -- https://master.php.net/note/delete/106619/non-english
Del: in docs -- https://master.php.net/note/delete/106619/in+docs
Del: other reasons-- https://master.php.net/note/delete/106619
Reject -- https://master.php.net/note/reject/106619
Search -- https://master.php.net/manage/user-notes.php