fmewebservices.FMEDatabaseConnection
Clears all values associated with this connection. |
|
Retrieves the family name associated with this connection. |
|
Gets the database generated id for this connection. |
|
Retrieves the name of this named connection, which is unique for the given authorized users. |
|
Retrieves the name values associated with this connection. |
|
Gets the owner (user) of this named connection. |
|
Gets the owner (user) of this named connection. |
|
Retrieves the type of the named connection. |
|
Sets the family name associated with this connection. |
|
Sets the database generated id for this connection. |
|
Sets the name of this named connection, which is not committed to the DB until this named connection is passed back to the manager. |
|
|
Sets the name values associated with this connection. |
Sets the owner (user) of this named connection. |
- class FMEDatabaseConnection
FME Database Connection class.
init(serviceName)
Create an instance of a database connection object.
- Parameters:
serviceName (str) – The service name of the connection.
- __init__(*args, **kwargs)
- getFamilyName()
Retrieves the family name associated with this connection.
- Return type:
- Returns:
The family name.
- getId()
Gets the database generated id for this connection.
- Return type:
- Returns:
The database generated id for the named connection.
- getName()
Retrieves the name of this named connection, which is unique for the given authorized users. This is the name given to the connection by the user.
- Return type:
- Returns:
The name of the named connection.
- getNameValues()
Retrieves the name values associated with this connection. The names are the keys and the values are the values in the returned
dict
.- Return type:
- Returns:
The name values.
- getOwnerName()
Gets the owner (user) of this named connection.
- Return type:
- Returns:
The owner of the named connection.
- getServiceName()
Gets the owner (user) of this named connection.
- Return type:
- Returns:
The owner of the named connection.
- getType()
Retrieves the type of the named connection.
Returns one of
FME_NAMEDCONNECTION_DATABASE
,FME_NAMEDCONNECTION_BASIC
,FME_NAMEDCONNECTION_OAUTH
,FME_NAMEDCONNECTION_TOKEN
, orFME_NAMEDCONNECTION_WEBSERVICE
.- Return type:
- Returns:
The type of the named connection.
- setFamilyName(name)
Sets the family name associated with this connection.
- setId(name)
Sets the database generated id for this connection.
- setName(name)
Sets the name of this named connection, which is not committed to the DB until this named connection is passed back to the manager.