Start implementation of model relations
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-11-10 21:30:59 -06:00
parent 589cb7d579
commit d92c8b5409
15 changed files with 557 additions and 4 deletions

View File

@@ -16,8 +16,11 @@ type ComparisonFunction<T> = (item: CollectionItem<T>, otherItem: CollectionItem
import { WhereOperator, applyWhere, whereMatch } from './where'
const collect = <T>(items: CollectionItem<T>[]): Collection<T> => Collection.collect(items)
const toString = (item: unknown): string => String(item)
export {
collect,
toString,
Collection,
// Types