MCPcopy Index your code
hub / github.com/LissaGreense/GO4SQL / HasWhereCommand

Method HasWhereCommand

ast/ast.go:225–230  ·  view source on GitHub ↗

HasWhereCommand - returns true if optional HasWhereCommand is present in SelectCommand Example: SELECT * FROM table WHERE column1 NOT 'hi'; Returns true SELECT * FROM table; Returns false

()

Source from the content-addressed store, hash-verified

223// SELECT * FROM table;
224// Returns false
225func (ls SelectCommand) HasWhereCommand() bool {
226 if ls.WhereCommand == nil {
227 return false
228 }
229 return true
230}
231
232// HasOrderByCommand - returns true if optional OrderByCommand is present in SelectCommand
233//

Callers 7

TestParseWhereCommandFunction · 0.45
TestParseDeleteCommandFunction · 0.45
EvaluateMethod · 0.45
getSelectResponseMethod · 0.45
updateTableMethod · 0.45

Calls

no outgoing calls

Tested by 4

TestParseWhereCommandFunction · 0.36
TestParseDeleteCommandFunction · 0.36