3.0.0 • Published 5 months ago

functional-models-orm-memory v3.0.0

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
5 months ago

Functional Models ORM Memory

Unit Tests Coverage Status

An ORM datastore adapter that is in-memory.

Useful for testing and some caching applications.

To Install

Run

npm install functional-models-orm-memory

To Use

import { datastoreAdapter as memoryDatastore } from 'functional-models-orm-memory'
import { createOrm } from 'functional-models'

const datastoreAdapter = memoryDatastore.create()
const orm = createOrm({ datastoreAdapter })