-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contains Filter not available #10
Comments
There is not convenient way to do that yet but I could easily add a way to query using a RegExp or glob pattern (I like glob as I can easily read it but it is more file name oriented and RegExp seems more powerful) |
I would love one or the other, my use case it for implementing startsWith(string), can already do it by doing lessThan and greaterThan but a bit inefficient . |
Ok indeed RegExp pattern should be the more generic. I will tackle that later this week. |
I have added reg exp pattern matching using Some docs here: https://github.com/tekartik/sembast.dart/blob/master/doc/queries.md#filtering-using-regexp-patten Published in 1.12.0 |
The db is containing model with firstName, lastName.
I need to query by firstName containing a pattern
The text was updated successfully, but these errors were encountered: