A fast, low memory, transactional, index & query enabled NoSQL database engine and server for node.js and browser with realtime data change notifications
MIT License
488
stars
27
forks
source link
.get include with wildcards doesn't work on localStorage/IndexedDB #115
When used the node version it works as expected, but with AceBase.WithLocalStorage or AceBase.WithIndexedDB it doesn't.
// Include specific nested data:
db.ref('users/someuser/posts')
.get({ include: ['*/title', '*/posted'] })
.then(snap => {
// snapshot will be an empty object
});
// Combine include & exclude:
db.ref('users/someuser')
.get({ exclude: ['comments'], include: ['posts/*/title'] })
.then(snap => {
// snapshot will exclude comments but won't contain a posts property at all
});
When used the node version it works as expected, but with
AceBase.WithLocalStorage
orAceBase.WithIndexedDB
it doesn't.