execute_non_select_command


Description:

[ Version ( since = "4.2.3" ) ]
public int execute_non_select_command (string sql) throws Error

This is a convenience function to execute a SQL command over the opened connection.

For the returned value, see statement_execute_non_select's documentation.

Parameters:

this

an opened connection

sql

a query statement that must not begin with "SELECT"

Returns:

the number of rows affected or -1, or -2




2022 vala-language.org