execute_insert


Description:

public int64 execute_insert (string sql, ...) throws Error

Execute the supplied insert statement

This function accepts an arbitrary number of groups of arguments for binding values. The first argument in the group must be the name of the parameter to bind, the second a GType, and the third the value.

Parameters:

sql an INSERT query

Returns:

the inserted row ID

See also:

execute, Query.execute_insert