Connection.deleteRowFromTable

This is a convenience function, which creates a DELETE statement and executes it using the values provided. It internally relies on variables which makes it immune to SQL injection problems.

The equivalent SQL command is: DELETE FROM <table> WHERE <condition_column_name> = <condition_value>.

class Connection
bool
deleteRowFromTable

Parameters

table string

the table's name with the row's values to be updated

conditionColumnName string

the name of the column to used in the WHERE condition clause

conditionValue gobject.value.Value

the condition_column_type's GType

Return Value

Type: bool

TRUE if no error occurred, FALSE otherwise

Throws