sql_engine_from_location
- PlasmaCalcs.tools.sql_tools.sql_engine_from_location(location)
returns sql engine implied by location string.
Possible results:“memory”: sqlite3 in-memory connection“sqlite”: sqlite3 connection to file“postgres”: PostgreSQL connection to online databaselocation: strimplies sql connection, e.g. “:memory:”, filepath, or online database connection string.postgresql connection string starts with “postgresql://” or “postgres://”.Currently assumes any non-memory, non-postgres connection is a filepath,without checking whether the file exists yet.