Skip to main content

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

AttributeTypeDescription
executable_namestring = spatialiteThe 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

NameTypeDescription
argslistA list of command-line arguments to pass to the spatialite executable.

Returns

TypeDescription
tupleA tuple containing the command's exit code, standard output, and standard error.