Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 27 08:59

    SPARTAN563 on patch-1

    (compare)

  • Apr 27 08:59

    SPARTAN563 on master

    (compare)

  • Apr 27 08:59

    SPARTAN563 on v2.0.0

    (compare)

  • Apr 27 08:54

    SPARTAN563 on master

    (compare)

  • Apr 27 08:54

    SPARTAN563 on 8.0.0

    wip: Upload current working sta… (compare)

  • Apr 27 08:54

    SPARTAN563 on 7.0.0

    (compare)

  • Apr 27 08:54

    SPARTAN563 on 6.0.0

    (compare)

  • Apr 27 08:54

    SPARTAN563 on 5.0.0

    (compare)

  • Apr 27 08:54

    SPARTAN563 on 4.0.0

    (compare)

  • Apr 27 08:54

    SPARTAN563 on master

    (compare)

  • Apr 27 08:54

    SPARTAN563 on gh-pages

    wip: Upload current working sta… (compare)

  • Apr 27 08:54

    SPARTAN563 on nicedocs

    (compare)

  • Apr 27 08:54

    SPARTAN563 on decorators

    (compare)

  • Apr 27 08:47

    SPARTAN563 on master

    (compare)

  • Apr 27 08:46

    SPARTAN563 on nicedocs

    (compare)

  • Apr 27 08:46

    SPARTAN563 on decorators

    (compare)

  • Apr 27 08:33

    SPARTAN563 on patch-1

    [BUGFIX] make regex typesafe (compare)

  • Apr 27 08:33

    SPARTAN563 on master

    (compare)

  • Apr 27 08:33

    SPARTAN563 on v2.0.0

    wip: Upload current working sta… (compare)

  • Apr 27 08:29

    SPARTAN563 on master

    (compare)

Konstantin Kostiuk
@SET001

I'm a but confused about how should I use iridium models
suppose I have following declaration

export class Storage extends Core implements IStorage{
    Accounts: Model<AccountDocument, Account> = new Model<AccountDocument, Account>(this, Account);
}

how now I can instantiate new account object?

should I use this.storage.Accounts.create() or I can use new Account?