Comments (6)
I was able to do that ...please check out #84 I haven't had time to put in a repo yet.
from lokidb.
Hi @greaterking thanks for your comment!!
Unfortunately i don’t use ionic. :(
I use VueJS with Cordova ;)
from lokidb.
@mesqueeb hopefully you'll be able to port this over somehow I hope since its all js in the end ..but glad I could help :)
from lokidb.
It's true. You need to use Filestorage instead. Don't know how to best do that.
from lokidb.
As mentioned earlier you need to use the file storage adapter which leverages the official Cordova file plugin to persist the data to the devices file system. Since the adapter part of Loki isn’t tightly coupled you should be able to write your own..I did for use with ionic. Other frameworks you’ll just have to look at existing examples, build and share. If not you’ll have to use another lib like couchdb and others.
from lokidb.
@mesqueeb Is it true that iOS on low memory is deleting indexedDB persistent memory? I am making an Ionic4 app for iOS and I need to use persistent memory for a huge amount of data. Can you please reply, its critical. Thank you
from lokidb.
Related Issues (20)
- Project status? Still maintained? HOT 8
- Implement redis like append only storage
- _maxId should be removed, $loki should be able recycled.
- LokiFsStructuredAdapter Equivalent HOT 2
- Examples needed HOT 3
- Fuzzy search not behaving as expected in all cases? HOT 3
- Error thrown when DB does not exist and autoload is set to true HOT 1
- FTS fails (any everything crashes with it) if value of the field is not present HOT 1
- [bug] Searching on indexed collection causes error HOT 5
- "this._changes is undefined" when adding records to auto-loaded db & collection HOT 9
- collection.removeCollection does not get autosaved into persisted DB HOT 1
- Async operations? HOT 1
- LokiDb expects data to not have a meta field
- fulltextsearch docstore does not clear when clear is called on a preloaded collection HOT 1
- What's the best index for $eq only, or perhaps JOINing collections? HOT 1
- How is LokiDB the official successor of LokiJS? HOT 12
- When will LokiDB be updated if it all there has been no recent activities. HOT 1
- Cannot read property 'char_filter' of null
- Rename meta field
- Batch larger serialisations 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 lokidb.