All notable changes to this project will be documented in this file. Please add new changes to the top.
date format is [yyyy-mm-dd]
- move project inside query parameter #63
- Update usage example in the README.md.
- Improve usage examples in the README.md, and make the overview section more concise.
- Remove
$group
and$having
as they detriment type safety as currently implemented (support may be redesigned later if required). - Improve type safety of
$project
operator. - Improve type safety of
$filter
operator. - Remove projection operators (
$count
,$min
,$max
,$min
, and$sum
) as they detriment type safety as currently implemented. This can be done via Virtual fields instead as currently supported for better type safety.
-
Add support for
transaction
operations using a QuerierPool. Automatically wraps the code of the callback inside a transaction, and auto-releases the querier after running. -
Update dependencies.
const ids = await querierPool.transaction(async (querier) => { const data = await querier.findMany(...); const ids = await querier.insertMany(...); return ids; });
-
fix(nukak-browser): check if ids are returned before use $in to delete them.
-
Reuse community open-source npm packages to escape literal-values according to each DB vendor.
-
Move projection to a new parameter to improve type inference of the results.
-
Support dynamic operations while projecting fields, and move
$project
as an independent parameter in thefind*
functions #55.