DuckDB v0.10.1 for Pascal

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

Record PreparedStatement

Hierarchy
Properties

Unit

Declaration

type PreparedStatement = record

Description

Class: PreparedStatement of ddb

Overview

Fields

Public o: Pduckdb_PreparedStatement;

Methods

Public constructor FromNativePointer(ptr : Pduckdb_PreparedStatement);
Public class operator Explicit(const r: PreparedStatement): Boolean;
Public procedure AutoRelease();
Public function context(): std_shared_ptr_duckdb_ClientContext; overload;
Public function data(): std_shared_ptr_duckdb_PreparedStatementData; overload;
Public function query(): str; overload;
Public procedure success(arg2: Boolean); overload;
Public function success(): Boolean; overload;
Public function error(): ErrorData; overload;
Public function n_param(): UInt64; overload;
Public function GetError(): str; overload;
Public function GetErrorObject(): ErrorData; overload;
Public function HasError(): Boolean; overload;
Public function ColumnCount(): UInt64; overload;
Public function GetStatementType(): Integer; overload;
Public function GetStatementProperties(): StatementProperties; overload;
Public function GetTypes(): vector_LogicalType; overload;
Public function GetNames(): vector_str; overload;

Description

Fields

Public o: Pduckdb_PreparedStatement;

This item has no description.

Methods

Public constructor FromNativePointer(ptr : Pduckdb_PreparedStatement);

This item has no description.

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

This item has no description.

Public procedure AutoRelease();

This item has no description.

Public function context(): std_shared_ptr_duckdb_ClientContext; overload;

This item has no description.

Public function data(): std_shared_ptr_duckdb_PreparedStatementData; overload;

This item has no description.

Public function query(): str; overload;

This item has no description.

Public procedure success(arg2: Boolean); overload;

This item has no description.

Public function success(): Boolean; overload;

This item has no description.

Public function error(): ErrorData; overload;

This item has no description.

Public function n_param(): UInt64; overload;

This item has no description.

Public function GetError(): str; overload;

This item has no description.

Public function GetErrorObject(): ErrorData; overload;

This item has no description.

Public function HasError(): Boolean; overload;

This item has no description.

Public function ColumnCount(): UInt64; overload;

This item has no description.

Public function GetStatementType(): Integer; overload;

This item has no description.

Public function GetStatementProperties(): StatementProperties; overload;

This item has no description.

Public function GetTypes(): vector_LogicalType; overload;

This item has no description.

Public function GetNames(): vector_str; overload;

This item has no description.

Error Message