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

Method Where

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

Warning! You cannot include table names for the next 4 clauses, or you'll get errors like: Table 'server_file_journal' from one of the SELECTs cannot be used in global ORDER clause

(expression BoolExpression)

Source from the content-addressed store, hash-verified

51 // Table 'server_file_journal' from one of the SELECTs cannot be used in
52 // global ORDER clause
53 Where(expression BoolExpression) UnionStatement
54 AndWhere(expression BoolExpression) UnionStatement
55 GroupBy(expressions ...Expression) UnionStatement
56 OrderBy(clauses ...OrderByClause) UnionStatement

Callers 15

TestSelectWhereMethod · 0.65
TestSelectWhereDateMethod · 0.65
TestSelectCopyMethod · 0.65
TestUpdateSingleValueMethod · 0.65
TestUpdateMultiValuesMethod · 0.65
TestUpdateWithOrderByMethod · 0.65
TestUpdateWithLimitMethod · 0.65
TestDeleteWithWhereMethod · 0.65
TestDeleteWithOrderByMethod · 0.65
TestDeleteWithLimitMethod · 0.65

Implementers 2

unionStatementImpldatabase/sqlbuilder/statement.go
selectStatementImpldatabase/sqlbuilder/statement.go

Calls

no outgoing calls

Tested by 15

TestSelectWhereMethod · 0.52
TestSelectWhereDateMethod · 0.52
TestSelectCopyMethod · 0.52
TestUpdateSingleValueMethod · 0.52
TestUpdateMultiValuesMethod · 0.52
TestUpdateWithOrderByMethod · 0.52
TestUpdateWithLimitMethod · 0.52
TestDeleteWithWhereMethod · 0.52
TestDeleteWithOrderByMethod · 0.52
TestDeleteWithLimitMethod · 0.52