SqliteDatabaseConfig class
SQLite-specific database configuration.
- Inheritance
-
- Object
- DatabaseConfig
- SqliteDatabaseConfig
Constructors
- SqliteDatabaseConfig({required String filePath, int? maxConnectionCount = defaultMaxConnectionCount})
- Creates a new SqliteDatabaseConfig.
Properties
- dialect → DatabaseDialect
-
Database dialect.
finalinherited
- filePath → String
-
The file path to the SQLite database.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
Database host.
finalinherited
- isUnixSocket → bool
-
True if the database is running on a unix socket.
finalinherited
- maxConnectionCount → int?
-
The maximum number of connections in the database pool.
finalinherited
- name → String
-
Database name.
finalinherited
- password → String
-
Database password.
finalinherited
- port → int
-
Database port.
finalinherited
- requireSsl → bool
-
True if the database requires an SSL connection.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
searchPaths
→ List<
String> ? -
Override the search path all connections to the database.
finalinherited
- user → String
-
Database user name.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
withResolvedLocalPath(
String baseDirectory) → SqliteDatabaseConfig -
Returns this config with a relative filePath resolved against
baseDirectory.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited