Connect
Connect API available from the Core library.
Configuration
This object does not expose a public Config table.
Methods
Create
Creates a new Connect instance.
Create(Path)
Arguments
| Argument | Default | Accepted values | What it does |
|---|---|---|---|
Path |
Required | Any valid value | File path used for reading or writing. |
Output
Creates a new Connect object.
GetConnection
Runs the GetConnection operation for Connect.
GetConnection()
Arguments
No arguments.
Output
Returns the calculated result.
Get
Runs the Get operation for Connect.
Get(Command, Keys=True)
Arguments
| Argument | Default | Accepted values | What it does |
|---|---|---|---|
Command |
Required | SELECT * |
Mode/value selector for command. |
Keys |
True |
Any valid value | Turns keys on or off. |
Output
Returns the calculated result.
Post
Runs the Post operation for Connect.
Post(Command)
Arguments
| Argument | Default | Accepted values | What it does |
|---|---|---|---|
Command |
Required | Any valid value | Command value used by the operation. |
Output
Returns True/False to indicate success.
Resolve_Base_Path
Runs the Resolve_Base_Path operation for Connect.
Resolve_Base_Path()
Arguments
No arguments.
Output
Returns the calculated result.
Checkpoint
Runs the Checkpoint operation for Connect.
Checkpoint(Mode='TRUNCATE', Timeout=5000)
Arguments
| Argument | Default | Accepted values | What it does |
|---|---|---|---|
Mode |
'TRUNCATE' |
Any valid value | Mode selector for the operation. |
Timeout |
5000 |
Any valid value | Timeout value used by the operation. |
Output
Returns the calculated result.
Close_All
Runs the Close_All operation for Connect.
Close_All()
Arguments
No arguments.
Output
Runs the operation. Some methods update the object in place.
Close
Applies a morphology-style image operation.
Close(Retries=40, Delay=0.05)
Arguments
| Argument | Default | Accepted values | What it does |
|---|---|---|---|
Retries |
40 |
Any valid value | Retries value used by the operation. |
Delay |
0.05 |
Any valid value | Delay value used by the operation. |
Output
Returns success/status or the operation result.