ballerina/sql

Functions

[2]

generateApplicationErrorStream
getGlobalConnectionPool

Classes

[60]

ArrayOutParameter

Represents Array Out Parameter used in procedure calls

ArrayValue

Represents ArrayValue SQL field.

BigIntOutParameter

Represents BigInt Out Parameter used in procedure calls

BigIntValue

Represents BigInt SQL field.

BinaryOutParameter

Represents Binary Out Parameter used in procedure calls

BinaryValue

Represents Binary SQL field.

BitOutParameter

Represents Bit Out Parameter used in procedure calls

BitValue

Represents Bit SQL field.

BlobOutParameter

Represents Blob Out Parameter used in procedure calls

BlobValue

Represents Blob SQL field.

BooleanOutParameter

Represents Boolean Out Parameter used in procedure calls

BooleanValue

Represents Boolean SQL field.

CharOutParameter

Represents Char Out Parameter used in procedure calls

CharValue

Represents Char SQL field.

ClobOutParameter

Represents Clob Out Parameter used in procedure calls

ClobValue

Represents Clob SQL field.

DateOutParameter

Represents Date Out Parameter used in procedure calls

DateTimeOutParameter

Represents DateTime Out Parameter used in procedure calls

DateTimeValue

Represents DateTime SQL field.

DateValue

Represents Date SQL field.

DecimalOutParameter

Represents Decimal Out Parameter used in procedure calls

DecimalValue

Represents Decimal SQL field.

DoubleOutParameter

Represents Double Out Parameter used in procedure calls

DoubleValue

Represents Double SQL field.

FloatOutParameter

Represents Float Out Parameter used in procedure calls

FloatValue

Represents Float SQL field.

InOutParameter

Represents SQL InOutParameter used in procedure calls.

IntegerOutParameter

Represents Integer Out Parameter used in procedure calls

IntegerValue

Represents Integer SQL field.

NCharOutParameter

Represents NChar Out Parameter used in procedure calls

NCharValue

Represents NChar SQL field.

NClobOutParameter

Represents NClob Out Parameter used in procedure calls

NClobValue

Represents NClob SQL field.

NumericOutParameter

Represents Numeric Out Parameter used in procedure calls

NumericValue

Represents Numeric SQL field.

NVarcharOutParameter

Represents NVarchar Out Parameter used in procedure calls

NVarcharValue

Represents NVarchar SQL field.

ProcedureCallResult

Object that is used to return stored procedure call results.

RealOutParameter

Represents Real Out Parameter used in procedure calls

RealValue

Represents Real SQL field.

RefOutParameter

Represents Ref Out Parameter used in procedure calls

RefValue

Represents Ref SQL field.

ResultIterator

The result iterator object that is used to iterate through the results in the event stream.

RowOutParameter

Represents Row Out Parameter used in procedure calls

RowValue

Represents Row SQL field.

SmallIntOutParameter

Represents SmallInt Out Parameter used in procedure calls

SmallIntValue

Represents SmallInt SQL field.

StructOutParameter

Represents Struct Out Parameter used in procedure calls

StructValue

Represents Struct SQL field.

TextOutParameter

Represents Text Out Parameter used in procedure calls

TextValue

Represents Text SQL field.

TimeOutParameter

Represents Time Out Parameter used in procedure calls

TimestampOutParameter

Represents Timestamp Out Parameter used in procedure calls

TimestampValue

Represents Timestamp SQL field.

TimeValue

Represents Time SQL field.

VarBinaryOutParameter

Represents VarBinary Out Parameter used in procedure calls

VarBinaryValue

Represents VarBinary SQL field.

VarcharOutParameter

Represents Varchar Out Parameter used in procedure calls

VarcharValue

Represents Varchar SQL field.

XMLOutParameter

Represents XML Out Parameter used in procedure calls

Object Types

[6]

Client

Represents a SQL client.

CustomResultIterator

The object type that is used as a structure to define a custom class with custom implementations for nextResult and getNextQueryResult in the connector modules.

OutParameter

Represents all OUT parameters used in SQL stored procedure call.

ParameterizedCallQuery

Represents Parameterized Call SQL Statement.

ParameterizedQuery

Represents Parameterized SQL query.

TypedValue

Represents a parameter for the SQL Client remote functions when a variable needs to be passed to the remote function.

Records

[4]

BatchExecuteErrorDetail

Represents the properties belonging to a BatchExecuteError.

ConnectionPool

Represents the properties which are used to configure DB connection pool.

DatabaseErrorDetail

Represents the properties belonging to a DatabaseError.

ExecutionResult

The result of the query without returning the rows.

Constants

[2]

EXECUTION_FAILED

Constant indicating that the specific batch statement failed.

SUCCESS_NO_INFO

Constant indicating that the specific batch statement executed successfully but that no count of the number of rows it affected is available.

Types

[4]

BatchExecuteError

Represents an error occurred when a batch execution is running.

DatabaseError

Represents an error caused by an issue related to database accessibility, erroneous queries, constraint violations, database resource clean-up, and other similar scenarios.

Parameter

Represents all parameters used in SQL stored procedure call.

Value

Possible type of parameters that can be passed into the SQL query.

Errors

[2]

ApplicationError

Represents an error originating from application-level causes.

Error

Defines the common error type for the module