HasWhereCommand - returns true if optional HasWhereCommand is present in SelectCommand Example: SELECT * FROM table WHERE column1 NOT 'hi'; Returns true SELECT * FROM table; Returns false
()
| 223 | // SELECT * FROM table; |
| 224 | // Returns false |
| 225 | func (ls SelectCommand) HasWhereCommand() bool { |
| 226 | if ls.WhereCommand == nil { |
| 227 | return false |
| 228 | } |
| 229 | return true |
| 230 | } |
| 231 | |
| 232 | // HasOrderByCommand - returns true if optional OrderByCommand is present in SelectCommand |
| 233 | // |
no outgoing calls