open abstract method

Future<bool> open({
  1. Function populateFunction,
})

Open the database and returns true upon success.

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

Future<bool> open({Function populateFunction});