Nearly Perfect Mediocracy

    @furystack/sequelize-store
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.5 • Public • Published

    mongodb-store

    Sequelize Physical Store implementation for FuryStack.

    Initialization

    import '@furystack/sequelize-store'
    
    export class TestEntry extends Model<...,...> {
      public _id!: string
      public value!: string
    }
    
    myInjector
      .setupStores(sm => {
        sm.useSequelize(TestEntry, '...other Sequelize-related options...')
    
    
    const myStore: IPhysicalStore<TestEntry> = myInjector.getInstance(StoreManager).getStoreFor(TestEntry)

    Install

    npm i @furystack/sequelize-store

    DownloadsWeekly Downloads

    4

    Version

    1.0.5

    License

    GPL-2.0

    Unpacked Size

    55.1 kB

    Total Files

    29

    Last publish

    Collaborators

    • gallayl