GoLang msql_select_db

request it (419)
GoLang replacement for PHP's msql_select_db [edit | history]



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

PHP msql_select_db

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

msql_select_db

(PHP 4, PHP 5, PHP 7)

msql_select_dbSelect mSQL database

Description

bool msql_select_db ( string $database_name [, resource $link_identifier ] )

msql_select_db() sets the current active database on the server that's associated with the specified link_identifier.

Subsequent calls to msql_query() will be made on the active database.

Parameters

database_name

The database name.

link_identifier

The mSQL connection. If not specified, the last link opened by msql_connect() is assumed. If no such link is found, the function will try to establish a link as if msql_connect() was called, and use it.

Return Values

Returns TRUE on success or FALSE on failure.

See Also