Module | Gda |
In: |
libgda/src/rbgda.c
|
BUILD_VERSION | = | rb_ary_new3(3, INT2FIX(LIBGDA_MAJOR_VERSION), INT2FIX(LIBGDA_MINOR_VERSION), INT2FIX(LIBGDA_MICRO_VERSION)) |
Class method: sql_replace_placeholders(sql, params) sql: a SQL command containing placeholders for values. params: a list of values for the placeholders, as a Gda::ParameterList object.
Replaces the placeholders (:name) in the given SQL command with the values from the Gda::ParameterList specified as the params argument.
Returns: the SQL string with all placeholders replaced, or nil on error.