SpatiaLiteClient
This class provides a client interface for interacting with SpatiaLite databases. It defines the executable name required for database operations and inherits core functionality from the base database client.
Attributes
| Attribute | Type | Description |
|---|---|---|
| executable_name | string = spatialite | The name of the command-line executable used to interact with the SpatiaLite database. |
Constructor
Signature
def SpatiaLiteClient()
Signature
def SpatiaLiteClient() - > null
Methods
run_shell_command()
def run_shell_command(
args: list
) - > tuple
Executes the spatialite command-line utility to interact with the database.
Parameters
| Name | Type | Description |
|---|---|---|
| args | list | A list of command-line arguments to pass to the spatialite executable. |
Returns
| Type | Description |
|---|---|
tuple | A tuple containing the command's exit code, standard output, and standard error. |