Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.5 KB

CHANGELOG.md

File metadata and controls

41 lines (32 loc) · 1.5 KB

CHANGELOG

Changed

  • Refactor Passdata constructors to create a new instance with a Schema or an unchecked Vec<u8> and Schema.
  • Use a single Vec<u8> to store data instead of multiple Vec or BTreeMap instances. Allow easier serialization/deserialization.
  • Use byte slices as a primitive value type instead of strings Refactor Constant to use byte slice instead of a Cow<'_, str>.
  • Make AnyBool, AnyNum, and AnyStr public
  • Remove ArrayLength generic arguments in functions

Added

  • Add Schema for describing stored data
  • Add Passdata::into_inner which returns the underlying byte vector which stores the data.
  • Add contains_edb and query_only_one_edb methods to Passdata
  • Add edb_iter to iterate through declared facts. A FactTerms is the Item returned which allows the constants to be filled in an existing buffer or a new Vec.
  • Add predicates_iter to iterate through predicates
  • Implement QueryResult for non-tuple types which implement QueryValue
  • Add AnyConstant as a possible QueryValue
  • Implement IntoArray for &[u8]
  • Derive PartialEq to error types

Added

  • Initial implementation