Database and Connection#
- featherstore.connection.connect(connection_string)[source]#
Connects to a database.
- Parameters:
connection_string (str) – Path to the database directory
- featherstore.connection.create_database(path, *, errors='raise', connect=True)[source]#
Creates a new database.
- Parameters:
path (str) – Where to create the database.
errors (str, optional) – Whether or not to raise an error if the database directory already exist. Can be either raise or ignore, ignore tries to create a database in existing directory, by default raise
connect (bool) – Whether or not to connect to the created database, by default True