open abstract method

void open({
  1. Function populateFunction,
})

Open the database or create a new one.

If supplied the populateFunction is used.

For sqlite this happens if the db didn't exist, while for postgres the function is executed no matter what, if available.

Implementation

void open({Function populateFunction});