MCPcopy Create free account
hub / github.com/go-pg/pg / hasMultiTables

Method hasMultiTables

orm/query.go:1382–1387  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1380}
1381
1382func (q *Query) hasMultiTables() bool {
1383 if q.modelHasTableName() {
1384 return len(q.tables) >= 1
1385 }
1386 return len(q.tables) >= 2
1387}
1388
1389func (q *Query) appendOtherTables(fmter QueryFormatter, b []byte) (_ []byte, err error) {
1390 tables := q.tables

Callers 3

AppendQueryMethod · 0.80
AppendQueryMethod · 0.80
appendColumnsValuesMethod · 0.80

Calls 1

modelHasTableNameMethod · 0.95

Tested by

no test coverage detected