You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DAO API has no way to order the results (as when using ORDER BY in SQL). While results can be sorted client side, this is impractical when trying to limit the number of results. Fetching a million rows just to sort them and take the first 10 isn't workable. While the API has a limit method, it's not useful without a way to order them.
Currently the workaround is to use the DSL and then wrapRows() back into DAO.
The text was updated successfully, but these errors were encountered:
The DAO API has no way to order the results (as when using ORDER BY in SQL). While results can be sorted client side, this is impractical when trying to limit the number of results. Fetching a million rows just to sort them and take the first 10 isn't workable. While the API has a limit method, it's not useful without a way to order them.
Currently the workaround is to use the DSL and then
wrapRows()
back into DAO.The text was updated successfully, but these errors were encountered: