Comments (4)
I have added reg exp pattern matching using Filter.matches
. It can be used to perform filters like contains
, startsWith
, endsWith
and of course many more assuming you speak regular expression fluently (which is not my case).
Some docs here: https://github.com/tekartik/sembast.dart/blob/master/doc/queries.md#filtering-using-regexp-patten
Published in 1.12.0
from sembast.dart.
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)
from sembast.dart.
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 .
from sembast.dart.
Ok indeed RegExp pattern should be the more generic. I will tackle that later this week.
from sembast.dart.
Related Issues (20)
- Breaking change released as major HOT 6
- Speeds of loading multiple items into db HOT 3
- Add a cleanup method for encryption codec HOT 1
- Consider adding async "Codec" for encryption HOT 2
- import dadabase HOT 8
- Filter.equals('clients.0.uid', uidClient)) does not work HOT 2
- Ordering by property of nested array object HOT 2
- Serialising object works fine, deserialising fails HOT 2
- How do I chain/make compound filters? HOT 3
- Issue using Sembast in Background Notification - Android HOT 6
- Deleted row in the .db file HOT 7
- Using sync to fetch data HOT 3
- Any database viewer is available to view the sembast db file HOT 1
- Export JsonEncodableCodec type HOT 4
- Copy db file on flutter web for upload / backup
- Need a way to reload the database / detect that it was changed by an external process. HOT 4
- Error in mobile web browser HOT 2
- Sembast web limitation HOT 2
- how to rename a store? HOT 2
- Pagination not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sembast.dart.