GoLang SQLite3Stmt::readOnly

request it (331)
GoLang replacement for PHP's SQLite3Stmt::readOnly [edit | history]



Do you know a GoLang replacement for PHP's SQLite3Stmt::readOnly? Write it!

PHP SQLite3Stmt::readOnly

PHP original manual for SQLite3Stmt::readOnly [ show | php.net ]

SQLite3Stmt::readOnly

(PHP 5 >= 5.3.6, PHP 7)

SQLite3Stmt::readOnlyReturns whether a statement is definitely read only

Description

public bool SQLite3Stmt::readOnly ( void )

Returns whether a statement is definitely read only. A statement is considered read only, if it makes no direct changes to the content of the database file. Note that user defined SQL functions might change the database indirectly as a side effect.

Parameters

This function has no parameters.

Return Values

Returns TRUE if a statement is definitely read only, FALSE otherwise.