[ Version ( since = "4.2" ) ]
public SqlBuilderId select_add_field (string field_name, string? table_name = null, string? alias = null)
Valid only for: SELECT statements.
Add a selected selected item to the SELECT statement.
For non-SELECT statements, see add_field_id.
this |
a SqlBuilder object |
field_name |
a field name |
table_name |
a table name, or null |
alias |
an alias (eg. for the "AS" clause), or null |
the ID of the added field, or 0 if there was an error |