|
set_database_data(user=None,
password=None,
host=None,
database=None,
name=None,
manager=' postgresql ' ,
preamble=( ) ,
kwargs=None,
rewritesql=None,
dbm=None)
Sets the data to connect to the database possible managers are:
postgresql, mysql, sqlite2, sqlite3 |
source code
|
|
|
del_database_data(name)
Removes the database connection data |
source code
|
|
|
get_database_data(name)
Retrieves the connection data |
source code
|
|
|
create2(user=None,
password=None,
host=None,
database=None,
name=None,
manager=' postgresql ' ,
preamble=( ) ,
rewritesql=None,
**kwargs)
Creates a new connection to the database. |
source code
|
|
|
create(*args,
**kwargs)
The same that create2 but only returns the connection |
source code
|
|