Starting: MerlinDB Instance

Create an instance of MerlinDB.

🪶 The first thing you should do is call an instance of MerlinDB:
  • Call new MerlinDB() or just MerlinDB(), both ways will work.

    1
  • //If you using 'modules' call:
  • 2
  • import
  • MerlinDB
  • from
  • "@chrisaxxwell/merlin-db";
    3
  • //Or if you are using 'merlindb.min.js' just call 'new MerlinDB()';
  • 4
    5
  • const
  • merlin =
  • new
  • MerlinDB(
  • )
  • ;
    6
  • //Or
  • 7
  • const
  • merlin =
  • MerlinDB(
  • )
  • ;