select_add_target_id
Description:
[ Version ( since = "4.2" ) ]
public SqlBuilderId select_add_target_id (SqlBuilderId table_id, string? alias)
public SqlBuilderId select_add_target_id (SqlBuilderId table_id, string? alias)
Adds a new target to a SELECT statement.
If there already exists a target representing the same table and the same alias (or with the same absence of alias) then the same target ID is returned instead of the ID of a new target.
Parameters:
this |
a SqlBuilder object |
table_id |
the ID of the expression holding a table reference (not |
alias |
the alias to give to the target, or |
Returns:
the ID of the new (or existing) target, or |