Webapp

SQL

SQL helper.

5 public methods

Import

from Xenonix.Webapp import SQL

Search this API

Filter methods, arguments, and configuration keys on this page.

Configuration

Use Config(...) with these keys where the class exposes configuration.

This object does not expose a public Config table.

Public methods

Create

Creates a new SQL 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 SQL object.

Close

Applies a morphology-style image operation.

Close()

Arguments

No arguments.

Output

Returns success/status or the operation result.

Get

Runs the Get operation for SQL.

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.

GetConnection

Runs the GetConnection operation for SQL.

GetConnection()

Arguments

No arguments.

Output

Returns the calculated result.

Post

Runs the Post operation for SQL.

Post(Command, Keys=False)

Arguments

Argument Default Accepted values What it does
Command Required Any valid value Command value used by the operation.
Keys False Any valid value Turns keys on or off.

Output

Runs the operation. Some methods update the object in place.