Gda.sqlReplacePlaceholders

Replaces the placeholders (:name) in the given SQL command with the values from the GdaParameterList specified as the params argument.

class Gda
static
string
sqlReplacePlaceholders

Parameters

sql string

a SQL command containing placeholders for values.

params ParameterList

a list of values for the placeholders.

Return Value

Type: string

the SQL string with all placeholders replaced, or NULL on error. On success, the returned string must be freed by the caller when no longer needed.

Meta