0 if there was an errorSqlBuilder.addId
gda.types.SqlBuilderId addId(string str)Defines an expression representing an identifier in builder, which may be reused to build other parts of a statement, for instance as a parameter to gda.sql_builder.SqlBuilder.addCond or gda.sql_builder.SqlBuilder.addFieldValueId.
The new expression will contain the str literal. For example: <programlisting> gda_sql_builder_add_id (b, "name") gda_sql_builder_add_id (b, "date") </programlisting>
will be rendered as SQL as: <programlisting> name "date" </programlisting>
because "date" is an SQL reserved keyword.
For fields, see gda.sql_builder.SqlBuilder.addFieldId.
Parameters
str | a string |
Returns
the ID of the new expression, or