@furystack/mongodb-store

10.0.8 • Public • Published

mongodb-store

MongoDB Physical Store implementation for FuryStack.

Initialization

import '@furystack/mongodb-store'

export class TestEntry {
  declare _id: string
  declare value: string
}

myInjector
  .setupStores(sm => {
    sm.useMongoDb(TestEntry, 'mongodb://localhost:27017', 'test', 'TestEntries')

const myMongoStore = myInjector.getInstance(StoreManager).getStoreFor(TestEntry)

Dependencies (5)

Dev Dependencies (3)

Package Sidebar

Install

npm i @furystack/mongodb-store

Weekly Downloads

43

Version

10.0.8

License

GPL-2.0

Unpacked Size

62.4 kB

Total Files

29

Last publish

Collaborators

  • gallayl