HasLimitCommand - returns true if optional LimitCommand is present in SelectCommand Example: SELECT * FROM table LIMIT 5; Returns true SELECT * FROM table; Returns false
()
| 253 | // SELECT * FROM table; |
| 254 | // Returns false |
| 255 | func (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 | // |
no outgoing calls