The NetworkDatabase object holds common properties for all kinds of databases reachable through network connections.
- › Inherits
Database <object_Database>
- › Inherited by
MSSQLDatabase <object_MSSQLDatabase>
,MySQLDatabase <object_MySQLDatabase>
,PostgreSQLDatabase <object_PostgreSQLDatabase>
password <property_NetworkDatabase_password>
port <property_NetworkDatabase_port>
server <property_NetworkDatabase_server>
user <property_NetworkDatabase_user>
Database.autoOpen <property_Database_autoOpen>
Database.closeOnConnectionError <property_Database_closeOnConnectionError>
Database.debugSqlQueries <property_Database_debugSqlQueries>
Database.error <property_Database_error>
Database.errorDetails <property_Database_errorDetails>
Database.errorString <property_Database_errorString>
Database.name <property_Database_name>
Database.ready <property_Database_ready>
Database.reopenInterval <property_Database_reopenInterval>
Database.sqlQueries <property_Database_sqlQueries>
Database.tables <property_Database_tables>
Object.objectId <property_Object_objectId>
Object.parent <property_Object_parent>
Database.close() <method_Database_close>
Database.dropAllTables() <method_Database_dropAllTables>
Database.open() <method_Database_open>
Object.deserializeProperties() <method_Object_deserializeProperties>
Object.fromJson() <method_Object_fromJson>
Object.serializeProperties() <method_Object_serializeProperties>
Object.toJson() <method_Object_toJson>
Database.errorOccurred() <signal_Database_errorOccurred>
Database.sqlQueriesDataChanged() <signal_Database_sqlQueriesDataChanged>
Database.tablesDataChanged() <signal_Database_tablesDataChanged>
Object.completed() <signal_Object_completed>
Database.Error <enum_Database_Error>
single: password
This property holds the password to use for connecting to the database.
- › Type
String
- › Signal
passwordChanged()
- › Attributes
Writable
single: port
This property holds the port of the database server to connect to. This property is initialized with the database-specific default value, e.g. 3306
for MySQLDatabase <object_MySQLDatabase>
or 1433
for MSSQLDatabase <object_MSSQLDatabase>
.
- › Type
SignedInteger
- › Default
-1
- › Signal
portChanged()
- › Attributes
Writable
single: server
This property holds the hostname or IP address of the database server to connect to.
- › Type
String
- › Signal
serverChanged()
- › Attributes
Writable
single: user
This property holds the username to use for connecting to the database.
- › Type
String
- › Signal
userChanged()
- › Attributes
Writable