Connection in jsstore is object of Instance class of jsstore.

var connection = new JsStore.Instance(new Worker('jsstore worker location'));

Important points :-

  • The connection variable will be used to execute the further query.
  • A connection will handle one db at a time.

If you are finding difficult to understand, please take a look at examples or our medium page