parse_sql_string


Description:

[ Version ( since = "4.2.3" ) ]
public Statement parse_sql_string (string sql, out Set? @params = null) throws Error

This function helps to parse a SQL string which uses parameters and store them at params.

Parameters:

this

a Connection object, or null

sql

an SQL command to parse, not null

params

a place to store a new Set, for parameters used in SQL command, or null

Returns:

a Statement representing the SQL command, or null if an error occurred




2022 vala-language.org