Conn

Overview

Location

Instance Methods


constructor

 

constructor

 

Conn()

 

init()

 

Sub New()

constructor (Conn)

 

constructor(value: Conn)

 

Conn(Conn value)

 

init(_ value: Conn)

 

Sub New(value As Conn)

Parameters:

  • value:

BeginTx

 

method BeginTx(ctx: Context; opts: Memory<TxOptions>): tuple of (Memory<Tx>, error)

 

(Memory<Tx>, error) BeginTx(Context ctx, Memory<TxOptions> opts)

 

func BeginTx(_ ctx: Context, _ opts: Memory<TxOptions>) -> (Memory<Tx>, error)

 

func BeginTx(ctx Context, opts Memory<TxOptions>) tuple of (Memory<Tx>, error)

 

Function BeginTx(ctx As Context, opts As Memory<TxOptions>) As Tuple (Of Memory<Tx>, error)

Parameters:

  • ctx:
  • opts:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

 

Function Close() As error

ExecContext

 

method ExecContext(ctx: Context; query: string; params args: array of Object): tuple of (Result, error)

 

(Result, error) ExecContext(Context ctx, string query, params Object[] args)

 

func ExecContext(_ ctx: Context, _ query: string, _ args: Object...) -> (Result, error)

 

func ExecContext(ctx Context, query string, args []interface{}) tuple of (Result, error)

 

Function ExecContext(ctx As Context, query As string, ParamArray args As Object()) As Tuple (Of Result, error)

Parameters:

  • ctx:
  • query:
  • args:

PingContext

 

method PingContext(ctx: Context): error

 

error PingContext(Context ctx)

 

func PingContext(_ ctx: Context) -> error

 

func PingContext(ctx Context) error

 

Function PingContext(ctx As Context) As error

Parameters:

  • ctx:

PrepareContext

 

method PrepareContext(ctx: Context; query: string): tuple of (Memory<Stmt>, error)

 

(Memory<Stmt>, error) PrepareContext(Context ctx, string query)

 

func PrepareContext(_ ctx: Context, _ query: string) -> (Memory<Stmt>, error)

 

func PrepareContext(ctx Context, query string) tuple of (Memory<Stmt>, error)

 

Function PrepareContext(ctx As Context, query As string) As Tuple (Of Memory<Stmt>, error)

Parameters:

  • ctx:
  • query:

QueryContext

 

method QueryContext(ctx: Context; query: string; params args: array of Object): tuple of (Memory<Rows>, error)

 

(Memory<Rows>, error) QueryContext(Context ctx, string query, params Object[] args)

 

func QueryContext(_ ctx: Context, _ query: string, _ args: Object...) -> (Memory<Rows>, error)

 

func QueryContext(ctx Context, query string, args []interface{}) tuple of (Memory<Rows>, error)

 

Function QueryContext(ctx As Context, query As string, ParamArray args As Object()) As Tuple (Of Memory<Rows>, error)

Parameters:

  • ctx:
  • query:
  • args:

QueryRowContext

 

method QueryRowContext(ctx: Context; query: string; params args: array of Object): Memory<Row>

 

Memory<Row> QueryRowContext(Context ctx, string query, params Object[] args)

 

func QueryRowContext(_ ctx: Context, _ query: string, _ args: Object...) -> Memory<Row>

 

func QueryRowContext(ctx Context, query string, args []interface{}) Memory<Row>

 

Function QueryRowContext(ctx As Context, query As string, ParamArray args As Object()) As Memory<Row>

Parameters:

  • ctx:
  • query:
  • args:

Raw

 

method Raw(f: Func<RemObjects.Elements.System.Object,go.builtin.error>): error

 

error Raw(Func<RemObjects.Elements.System.Object,go.builtin.error> f)

 

func Raw(_ f: Func<RemObjects.Elements.System.Object,go.builtin.error>) -> error

 

func Raw(f Func<RemObjects.Elements.System.Object,go.builtin.error>) error

 

Function Raw(f As Func<RemObjects.Elements.System.Object,go.builtin.error>) As error

Parameters:

  • f: