Skip to content

Conversation

mbrandonw
Copy link
Member

We currently allow Table.find(/*SELECT …*/) but it will actually only find a single row, not all rows matching. So I've updated all of these types of queries to be "IN" instead of "=".

An alternative is to provide all new APIs for findAll if we want to distinguish between finding a single row versus finding many, but I'm not sure if there's a lot of benefit to that. It seems like it can be inferred from the argument provided to find.

Also I wonder if we should support Table.find([1, 2, 3]).

@stephencelis stephencelis merged commit 1504020 into main Sep 19, 2025
3 checks passed
@stephencelis stephencelis deleted the find-all branch September 19, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants