Skip to content

What will be most efficient? #701

Closed Answered by gotson
TheNodder asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TheNodder
Comment options

Answer selected by gotson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants