GoLang dba_popen

request it (287)
GoLang replacement for PHP's dba_popen [edit | history]

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

PHP dba_popen

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


(PHP 4, PHP 5, PHP 7)

dba_popenOpen database persistently


resource dba_popen ( string $path , string $mode [, string $handler [, mixed $... ]] )

dba_popen() establishes a persistent database instance for path with mode using handler.



Commonly a regular path in your filesystem.


It is r for read access, w for read/write access to an already existing database, c for read/write access and database creation if it doesn't currently exist, and n for create, truncate and read/write access.


The name of the handler which shall be used for accessing path. It is passed all optional parameters given to dba_popen() and can act on behalf of them.

Return Values

Returns a positive handle on success or FALSE on failure.

See Also