inxdb
v1.7.0
Published
IndexedDB wrapper for handling offline database operations.
Downloads
19
Readme
InxDB
InxDB is an IndexedDB wrapper for handling offline database operations. It provides a simple and convenient API for working with IndexedDB, a powerful web-based database solution.
Features
- Create, update, and delete collections
- Add, retrieve, update, and delete documents within collections
- Set or overwrite an entire collection with new data
- Flexible querying options for retrieving documents
- Error handling for common scenarios
Usage
Under construction...
Error Handling
The InxDB library throws specific error types for common scenarios. Here are the error types you may encounter:
NoCollectionNameError:
Thrown when the collection name is not specified.
NoDocumentSelectionCriteriaError:
Thrown when the document selection criteria is not specified.
CollectionNotFoundError:
Thrown when the specified collection does not exist.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Contributions are welcome! Fork the repository, make your changes, and submit a pull request.