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

Method hasTableModel

orm/query.go:1324–1326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1322}
1323
1324func (q *Query) hasTableModel() bool {
1325 return q.tableModel != nil && !q.tableModel.IsNil()
1326}
1327
1328func (q *Query) hasExplicitTableModel() bool {
1329 return q.tableModel != nil && !q.hasFlag(implicitModelFlag)

Callers 5

ValueMethod · 0.95
WherePKMethod · 0.95
isSliceModelWithDataMethod · 0.95
mustAppendSetMethod · 0.80
appendColumnsValuesMethod · 0.80

Calls 1

IsNilMethod · 0.65

Tested by

no test coverage detected