-
Hi, Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
See #379 (comment) Sqlite itself is forward only, hence the lack of support for 'last()`. As to what would be the most efficient, if depends on your query and data. In a small result set, maybe iterating would work. But in a big dataset it's pointless. If you can write a query to get the last value, that would be more efficient. |
Beta Was this translation helpful? Give feedback.
See #379 (comment)
Sqlite itself is forward only, hence the lack of support for 'last()`.
As to what would be the most efficient, if depends on your query and data. In a small result set, maybe iterating would work. But in a big dataset it's pointless. If you can write a query to get the last value, that would be more efficient.