Hello!
I'm working on adding search to my database but for some reason, no matter what I do, the limit isn't honored when using Moebius.Query.search/2
I think this might be related to issue #98
Here's my code:
db(:my_table)
|> search(for: "term", in: [:field, :other_field])
|> limit(10)
|> MyApp.DB.run
For one particular query, I have a max of 33 results and it always returns all of them instead of limiting it to 10 results.
Hello!
I'm working on adding search to my database but for some reason, no matter what I do, the limit isn't honored when using
Moebius.Query.search/2I think this might be related to issue #98
Here's my code:
For one particular query, I have a max of 33 results and it always returns all of them instead of limiting it to 10 results.