DuckDB v0.10.1 for Pascal

The Pascal API structure aligns with C++ DuckDB v0.10.1.

Record ClientContext

Hierarchy
Properties

Unit

Declaration

type ClientContext = record

Description

Class: ClientContext of ddb

Overview

Fields

Public o: Pduckdb_ClientContext;

Methods

Public constructor FromNativePointer(ptr : Pduckdb_ClientContext);
Public class operator Explicit(const r: ClientContext): Boolean;
Public procedure AutoRelease();
Public procedure Init(arg1: std_shared_ptr_duckdb_DatabaseInstance); overload;
Public function db(): std_shared_ptr_duckdb_DatabaseInstance; overload;
Public function config(): ClientConfig; overload;
Public function transaction(): TransactionContext; overload;
Public function ActiveTransaction(): MetaTransaction; overload;
Public procedure Interrupt(); overload;
Public procedure EnableProfiling(); overload;
Public procedure DisableProfiling(); overload;
Public function Query(arg2: str; arg3: Boolean): QueryResult; overload;
Public function Query(arg2: SQLStatement; arg3: Boolean): QueryResult; overload;
Public function PendingQuery(arg2: str; arg3: Boolean): PendingQueryResult; overload;
Public function PendingQuery(arg2: SQLStatement; arg3: Boolean): PendingQueryResult; overload;
Public procedure Destroy(); overload;
Public function TableInfo(arg2: str; arg3: str): TableDescription; overload;
Public procedure Append(arg2: TableDescription; arg3: ColumnDataCollection); overload;
Public procedure TryBindRelation(arg2: Relation; arg3: vector_ColumnDefinition); overload;
Public function PendingQuery(arg2: std_shared_ptr_duckdb_Relation; arg3: Boolean): PendingQueryResult; overload;
Public function Prepare(arg2: str): PreparedStatement; overload;
Public function Prepare(arg2: SQLStatement): PreparedStatement; overload;
Public function PendingQuery(arg2: str; arg3: std_shared_ptr_duckdb_PreparedStatementData; arg4: PendingQueryParameters): PendingQueryResult; overload;
Public procedure RegisterFunction(arg2: CreateFunctionInfo); overload;
Public function ParseStatements(arg2: str): duckdb_vector_duckdb_unique_ptr_duckdb_SQLStatement; overload;
Public function ExtractPlan(arg2: str): LogicalOperator; overload;
Public procedure HandlePragmaStatements(arg2: vector_unique_ptr_SQLStatement_std_default_delete_duckdb_76a6863); overload;
Public function TryGetCurrentSetting(arg2: str; arg3: Value): SettingLookupResult; overload;
Public function IsActiveResult(arg2: ClientContextLock; arg3: BaseQueryResult): Boolean; overload;
Public procedure SetActiveResult(arg2: ClientContextLock; arg3: BaseQueryResult); overload;
Public function GetTableNames(arg2: str): std_unordered_set_std_string; overload;
Public function GetClientProperties(): ClientProperties; overload;
Public function ExecutionIsFinished(): Boolean; overload;
Public procedure ProcessError(arg2: ErrorData; arg3: str); overload;

Description

Fields

Public o: Pduckdb_ClientContext;

This item has no description.

Methods

Public constructor FromNativePointer(ptr : Pduckdb_ClientContext);

This item has no description.

Public class operator Explicit(const r: ClientContext): Boolean;

This item has no description.

Public procedure AutoRelease();

This item has no description.

Public procedure Init(arg1: std_shared_ptr_duckdb_DatabaseInstance); overload;

This item has no description.

Public function db(): std_shared_ptr_duckdb_DatabaseInstance; overload;

This item has no description.

Public function config(): ClientConfig; overload;

This item has no description.

Public function transaction(): TransactionContext; overload;

This item has no description.

Public function ActiveTransaction(): MetaTransaction; overload;

This item has no description.

Public procedure Interrupt(); overload;

This item has no description.

Public procedure EnableProfiling(); overload;

This item has no description.

Public procedure DisableProfiling(); overload;

This item has no description.

Public function Query(arg2: str; arg3: Boolean): QueryResult; overload;

This item has no description.

Public function Query(arg2: SQLStatement; arg3: Boolean): QueryResult; overload;

This item has no description.

Public function PendingQuery(arg2: str; arg3: Boolean): PendingQueryResult; overload;

This item has no description.

Public function PendingQuery(arg2: SQLStatement; arg3: Boolean): PendingQueryResult; overload;

This item has no description.

Public procedure Destroy(); overload;

This item has no description.

Public function TableInfo(arg2: str; arg3: str): TableDescription; overload;

This item has no description.

Public procedure Append(arg2: TableDescription; arg3: ColumnDataCollection); overload;

This item has no description.

Public procedure TryBindRelation(arg2: Relation; arg3: vector_ColumnDefinition); overload;

This item has no description.

Public function PendingQuery(arg2: std_shared_ptr_duckdb_Relation; arg3: Boolean): PendingQueryResult; overload;

This item has no description.

Public function Prepare(arg2: str): PreparedStatement; overload;

This item has no description.

Public function Prepare(arg2: SQLStatement): PreparedStatement; overload;

This item has no description.

Public function PendingQuery(arg2: str; arg3: std_shared_ptr_duckdb_PreparedStatementData; arg4: PendingQueryParameters): PendingQueryResult; overload;

This item has no description.

Public procedure RegisterFunction(arg2: CreateFunctionInfo); overload;

This item has no description.

Public function ParseStatements(arg2: str): duckdb_vector_duckdb_unique_ptr_duckdb_SQLStatement; overload;

This item has no description.

Public function ExtractPlan(arg2: str): LogicalOperator; overload;

This item has no description.

Public procedure HandlePragmaStatements(arg2: vector_unique_ptr_SQLStatement_std_default_delete_duckdb_76a6863); overload;

This item has no description.

Public function TryGetCurrentSetting(arg2: str; arg3: Value): SettingLookupResult; overload;

This item has no description.

Public function IsActiveResult(arg2: ClientContextLock; arg3: BaseQueryResult): Boolean; overload;

This item has no description.

Public procedure SetActiveResult(arg2: ClientContextLock; arg3: BaseQueryResult); overload;

This item has no description.

Public function GetTableNames(arg2: str): std_unordered_set_std_string; overload;

This item has no description.

Public function GetClientProperties(): ClientProperties; overload;

This item has no description.

Public function ExecutionIsFinished(): Boolean; overload;

This item has no description.

Public procedure ProcessError(arg2: ErrorData; arg3: str); overload;

This item has no description.

Error Message