Add an ORDER BY expression in the specified order on the specified field. SimpleDb only supports a single ORDER BY field. @param field the field to order by @param asc true if should be ordered in ascending order, false for descending order @throws ParsingException
(String field, boolean asc)
| 213 | * @throws ParsingException |
| 214 | */ |
| 215 | public void addOrderBy(String field, boolean asc) throws ParsingException { |
| 216 | field=disambiguateName(field); |
| 217 | oByField = field; |
| 218 | oByAsc = asc; |
| 219 | hasOrderBy = true; |
| 220 | } |
| 221 | |
| 222 | /** Given a name of a field, try to figure out what table it belongs to by looking |
| 223 | * through all of the tables added via {@link #addScan}. |
no test coverage detected