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
()
| 238 | // SELECT * FROM table; |
| 239 | // Returns false |
| 240 | func (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 | // |
no outgoing calls