NetworkDatabase¶
Description¶
The NetworkDatabase object holds common properties for all kinds of databases reachable through network connections.
› Inherits: | Database |
---|---|
› Inherited by: | MSSQLDatabase, MySQLDatabase, PostgreSQLDatabase |
Properties¶
password¶
This property holds the password to use for connecting to the database.
› Type: | String |
---|---|
› Signal: | passwordChanged() |
› Attributes: | Writable |
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 or 1433
for MSSQLDatabase.
› Type: | SignedInteger |
---|---|
› Default: | -1 |
› Signal: | portChanged() |
› Attributes: | Writable |
server¶
This property holds the hostname or IP address of the database server to connect to.
› Type: | String |
---|---|
› Signal: | serverChanged() |
› Attributes: | Writable |
user¶
This property holds the username to use for connecting to the database.
› Type: | String |
---|---|
› Signal: | userChanged() |
› Attributes: | Writable |