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

Method HasLimitCommand

ast/ast.go:255–260  ·  view source on GitHub ↗

HasLimitCommand - returns true if optional LimitCommand is present in SelectCommand Example: SELECT * FROM table LIMIT 5; Returns true SELECT * FROM table; Returns false

()

Source from the content-addressed store, hash-verified

253// SELECT * FROM table;
254// Returns false
255func (ls SelectCommand) HasLimitCommand() bool {
256 if ls.LimitCommand == nil {
257 return false
258 }
259 return true
260}
261
262// HasOffsetCommand - returns true if optional OffsetCommand is present in SelectCommand
263//

Callers 4

getSelectResponseMethod · 0.80
applyOffsetAndLimitMethod · 0.80

Calls

no outgoing calls

Tested by 2