MCPcopy Create free account
hub / github.com/LissaGreense/GO4SQL / HasOrderByCommand

Method HasOrderByCommand

ast/ast.go:240–245  ·  view source on GitHub ↗

HasOrderByCommand - returns true if optional OrderByCommand is present in SelectCommand Example: SELECT * FROM table ORDER BY column1 ASC; Returns true SELECT * FROM table; Returns false

()

Source from the content-addressed store, hash-verified

238// SELECT * FROM table;
239// Returns false
240func (ls SelectCommand) HasOrderByCommand() bool {
241 if ls.OrderByCommand == nil {
242 return false
243 }
244 return true
245}
246
247// HasLimitCommand - returns true if optional LimitCommand is present in SelectCommand
248//

Callers 2

getSelectResponseMethod · 0.80

Calls

no outgoing calls

Tested by 1