Repository navigation
Releases: kevinhellos/fireclient-query
Release list
v0.0.2
FireclientQuery - Release Notes
Version 0.0.2
Author: Kevin
License: MIT
Overview
The second release of FireclientQuery, a lightweight TypeScript wrapper for Firebase Firestore. This release provides no breaking changes to the previous version.
New feature
- Select a specific document by its id with a WHERE clause:
Previously, onlyselect * from collectionNameis supported.
Now, a where clause can be added to the query to select a specific document by its id.
select * from collectionName where id == 123
Source codes updates
- Added notice to source codes for Internal functions and Unstable functions that should not be directly used.
Known Issues
The current version does not support advanced query operations like filtering and ordering. These features may be added in future versions.
Future Improvements
- Support for more advanced Firestore queries.
- Improved error handling and validation for query inputs.
v0.0.1
FireclientQuery - Release Notes
Version 0.0.1
Author: Kevin
License: MIT
Overview
The initial release of FireclientQuery, a lightweight TypeScript wrapper for Firebase Firestore. It simplifies Firestore queries by providing an easy-to-use interface for basic CRUD operations and Firestore querying via SQL-like query strings.
Features
-
Firebase Initialization:
- Automatically initializes Firebase App and Firestore using provided configuration.
-
Query Support:
- SQL-like queries for
SELECT,INSERT,UPDATE, andDELETEoperations. - Example:
select * from booksinsert into booksupdate books where bookId == 123delete from books where bookId == 123
- SQL-like queries for
-
Error Handling:
- Detailed error logging for missing documents and invalid queries.
Known Issues
The current version does not support advanced query operations like filtering and ordering. These features may be added in future versions.
Future Improvements
- Support for more advanced Firestore queries.
- Improved error handling and validation for query inputs.