0 if there was an errorSqlBuilder.addFieldId
gda.types.SqlBuilderId addFieldId(string fieldName, string tableName = null)Defines an expression representing a field 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.
Calling this with a null table_name is equivalent to calling gda.sql_builder.SqlBuilder.addId.
For SELECT queries, see gda.sql_builder.SqlBuilder.selectAddField.
Parameters
fieldName | a field name |
tableName | a table name, or null |
Returns
the ID of the new expression, or