Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.81 KB

CHANGELOG.md

File metadata and controls

32 lines (27 loc) · 1.81 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Added cascade option to TRUNCATE TABLE
  • Added remove on deletion from relationship option to the relationship decorator
  • Disabling of constraint checks via options argument to initializeStore
  • Complex indexed values
    • Indexes can now be built against any object, not just primitives
    • Indexes are built deterministically using object-hash, so there's no need to keep references to objects (ES6 Map or Set for example).
    • Values can now be queried using index values or other properties using the findXBy functions. If a value hasn't been indexed then it falls back to a normal, slow filter and warns.
  • findAllBy and findOneBy
    • Supports queries for non-primary key properties
    • findOneBy throws an exception if no values are found or if many values are found