4Suite
™
API Documentation
►
Module
Ft
.
Server
.
Server
.
Drivers
.Psyco
Classes:
PsycoDriver
Functions:
Begin
,
BuildConnectString
,
DbExists
,
Destroy
,
Exists
,
Initialize
,
InitializeModule
,
Maintain
Fields:
BLOB_CHUNK_LENGTH
,
NAME
,
SYSTEM_MODEL_NAME
,
USER_MODEL_NAME
Classes
class
PsycoDriver
Methods
__init__
(
self
,
dbName
,
host
,
port
,
user
,
passwd
)
commit
(
self
)
createFile
(
self
,
path
,
typ
,
content
)
deleteFile
(
self
,
path
,
typ
)
fetchFile
(
self
,
path
,
typ
)
getSystemModel
(
self
)
getUserModel
(
self
)
hasFile
(
self
,
path
,
typ
)
maintain
(
self
)
rollback
(
self
)
updateFile
(
self
,
path
,
typ
,
content
)
Functions
Begin
(
**properties
)
BuildConnectString
(
dbname
,
host
,
port
,
user
,
passwd
)
DbExists
(
properties
)
Destroy
(
properties
,
tryOnly
=0
)
Exists
(
properties
)
Initialize
(
properties
)
InitializeModule
()
Maintain
(
properties
)
Fields
BLOB_CHUNK_LENGTH
= 100000
NAME
= 'Psyco'
SYSTEM_MODEL_NAME
= 'system'
USER_MODEL_NAME
= 'user'