Esempio n. 1
0
func (this *DeleteBuilder) From(del *db.Delete) {
	table := del.GetTable()
	alias := del.GetTableAlias()
	this.tablePart.AddAsOne(this.translator.TableName(table), " ", alias)
}
Esempio n. 2
0
func (this *MySQL5DeleteBuilder) From(del *db.Delete) {
	table := del.GetTable()
	alias := del.GetTableAlias()
	// Multiple-table syntax:
	this.tablePart.AddAsOne(alias, " USING ", this.translator.TableName(table), " AS ", alias)
}