0 if there was an errorSqlBuilder.addParam
gda.types.SqlBuilderId addParam(string paramName, gobject.types.GType type, bool nullok)Defines a parameter in builder which may be reused to build other parts of a statement.
The new expression will contain the string literal. For example:
<programlisting>gda_sql_builder_add_param (b, "age", G_TYPE_INT, FALSE)
</programlisting>will be rendered as SQL as:
<programlisting><![CDATA[##age::int ]]>
</programlisting>Parameters
paramName | parameter's name |
type | parameter's type |
nullok | TRUE if the parameter can be set to null |
Returns
the ID of the new expression, or