createSchema abstract method

Future<bool> createSchema(
  1. String name
)

Creates a new schema/namespace within the current database.

This is distinct from creating a database:

  • PostgreSQL: Creates a schema within the current database
  • MySQL: Equivalent to creating a database (schemas = databases)
  • SQLite: Not applicable (single schema per file)

Returns true if created, false if already exists.

Implementation

Future<bool> createSchema(String name);