GoLang sqlite_single_query

request it (241)
GoLang replacement for PHP's sqlite_single_query [edit | history]

Do you know a GoLang replacement for PHP's sqlite_single_query? Write it!

PHP sqlite_single_query

PHP original manual for sqlite_single_query [ show | php.net ]



(PHP 5 < 5.4.0, PECL sqlite >= 1.0.1)

sqlite_single_query -- SQLiteDatabase::singleQuery Executes a query and returns either an array for one single column or the value of the first row


array sqlite_single_query ( resource $db , string $query [, bool $first_row_only [, bool $decode_binary ]] )

Object oriented style (method):

public array SQLiteDatabase::singleQuery ( string $query [, bool $first_row_only [, bool $decode_binary ]] )

This function is currently not documented; only its argument list is available.