method

execute

Importance_1
v6.0.0 - Show latest stable - 0 notes - Class: DatabaseStatements
execute(sql, name = nil) public

Executes an SQL statement, returning a PG::Result object on success or raising a PG::Error exception otherwise. Note: the PG::Result object is manually memory managed; if you don’t need it specifically, you may want consider the exec_query wrapper.

Show source
Register or log in to add new notes.