DbEngineType enum
Supported database engine types in TTQL queries and drivers.
Values
- sqlite → const DbEngineType
-
const DbEngineType(id: 1, name: 'SQLite', hint: 'C:\\path\\to\\database.sqlite', defaultPort: null) - postgres → const DbEngineType
-
const DbEngineType(id: 2, name: 'PostgreSQL', hint: 'postgres://user:password@localhost:5432/dbname', defaultPort: 5432) - mysql → const DbEngineType
-
const DbEngineType(id: 3, name: 'MySQL', hint: 'mysql://user:password@localhost:3306/dbname', defaultPort: 3306) - mongodb → const DbEngineType
-
const DbEngineType(id: 4, name: 'MongoDB', hint: 'mongodb://user:password@localhost:27017/dbname', defaultPort: 27017) - redis → const DbEngineType
-
const DbEngineType(id: 5, name: 'Redis', hint: 'redis://:password@localhost:6379/0', defaultPort: 6379) - duckdb → const DbEngineType
-
const DbEngineType(id: 6, name: 'DuckDB', hint: 'C:\\path\\to\\analytics.duckdb or :memory:', defaultPort: null) - mssql → const DbEngineType
-
const DbEngineType(id: 7, name: 'Microsoft SQL Server', hint: 'mssql://user:password@localhost:1433/dbname', defaultPort: 1433) - clickhouse → const DbEngineType
-
const DbEngineType(id: 8, name: 'ClickHouse', hint: 'http://user:password@localhost:8123/dbname', defaultPort: 8123) - planetscale → const DbEngineType
-
const DbEngineType(id: 9, name: 'PlanetScale', hint: 'mysql://user:password@aws.connect.psdb.cloud/dbname', defaultPort: 3306) - cockroachdb → const DbEngineType
-
const DbEngineType(id: 10, name: 'CockroachDB', hint: 'postgresql://user:password@localhost:26257/dbname', defaultPort: 26257) - yugabytedb → const DbEngineType
-
const DbEngineType(id: 11, name: 'YugabyteDB', hint: 'postgresql://user:password@localhost:5433/dbname', defaultPort: 5433) - oracle → const DbEngineType
-
const DbEngineType(id: 12, name: 'Oracle Database', hint: 'oracle://user:password@localhost:1521/XEPDB1', defaultPort: 1521) - cassandra → const DbEngineType
-
const DbEngineType(id: 13, name: 'Cassandra / ScyllaDB', hint: 'cassandra://user:password@localhost:9042/keyspace', defaultPort: 9042)
Properties
- defaultPort → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String
-
final
- id → int
-
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportsServerPoolDiscovery → bool
-
True if engine is a networked server supporting multi-database/keyspace/logical-DB discovery.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromConnectionString(
String connStr) → DbEngineType? - Attempts to infer DbEngineType from a connection string URI scheme or file path extension.
-
fromId(
int id) → DbEngineType - Map an integer ID back to the matching DbEngineType.
Constants
-
values
→ const List<
DbEngineType> - A constant List of the values in this enum, in order of their declaration.