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

Method HasOffsetCommand

ast/ast.go:270–275  ·  view source on GitHub ↗

HasOffsetCommand - returns true if optional OffsetCommand is present in SelectCommand Example: SELECT * FROM table OFFSET 100; Returns true SELECT * FROM table LIMIT 10; Returns false

()

Source from the content-addressed store, hash-verified

268// SELECT * FROM table LIMIT 10;
269// Returns false
270func (ls SelectCommand) HasOffsetCommand() bool {
271 if ls.OffsetCommand == nil {
272 return false
273 }
274 return true
275}
276
277// HasJoinCommand - returns true if optional JoinCommand is present in SelectCommand
278//

Callers 4

getSelectResponseMethod · 0.80
applyOffsetAndLimitMethod · 0.80

Calls

no outgoing calls

Tested by 2