PHP » GoLang |
login |
register |
about
|
GoLang sqlite_fetch_all
request it (290)
GoLang replacement for PHP's sqlite_fetch_all
[edit | history]
sqlite_fetch_allSQLiteResult::fetchAllSQLiteUnbuffered::fetchAll(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) sqlite_fetch_all -- SQLiteResult::fetchAll -- SQLiteUnbuffered::fetchAll — Fetches all rows from a result set as an array of arrays Description
array sqlite_fetch_all
( resource
$result
[, int $result_type = SQLITE_BOTH
[, bool $decode_binary = TRUE
]] )Object oriented style (method):
array SQLiteResult::fetchAll
([ int
$result_type = SQLITE_BOTH
[, bool $decode_binary = TRUE
]] )
array SQLiteUnbuffered::fetchAll
([ int
$result_type = SQLITE_BOTH
[, bool $decode_binary = TRUE
]] )
sqlite_fetch_all() returns an array of the entire result
set from the Parameters
Return ValuesReturns an array of the remaining rows in a result set. If called right after sqlite_query(), it returns all rows. If called after sqlite_fetch_array(), it returns the rest. If there are no rows in a result set, it returns an empty array. The column names returned by
Examples
Example #1 Procedural example
<?php
Example #2 Object-oriented example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|