MCPcopy
hub / github.com/dropbox/godropbox / selectStatementImpl

Struct selectStatementImpl

database/sqlbuilder/statement.go:295–306  ·  view source on GitHub ↗

NOTE: SelectStatement purposely does not implement the Table interface since mysql's subquery performance is horrible.

Source from the content-addressed store, hash-verified

293// NOTE: SelectStatement purposely does not implement the Table interface since
294// mysql's subquery performance is horrible.
295type selectStatementImpl struct {
296 table ReadableTable
297 projections []Projection
298 where BoolExpression
299 group *listClause
300 order *listClause
301 comment string
302 limit, offset int64
303 withSharedLock bool
304 forUpdate bool
305 distinct bool
306}
307
308func (s *selectStatementImpl) Copy() SelectStatement {
309 ret := *s

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected