GoLang fbsql_db_query

request it (436)
GoLang replacement for PHP's fbsql_db_query [edit | history]



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

PHP fbsql_db_query

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

fbsql_db_query

(PHP 4 >= 4.0.6, PHP 5, PHP 7)

fbsql_db_querySend a FrontBase query

Description

resource fbsql_db_query ( string $database , string $query [, resource $link_identifier ] )

Selects a database and executes a query on it.

Parameters

database

The database to be selected.

query

The SQL query to be executed.

Note:

The query string shall always end with a semicolon.

link_identifier

A FrontBase link identifier returned by fbsql_connect() or fbsql_pconnect().

If optional and not specified, the function will try to find an open link to the FrontBase server and if no such link is found it will try to create one as if fbsql_connect() was called with no arguments.

Return Values

Returns a positive FrontBase result identifier to the query result, or FALSE on error.

See Also