Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.database.sql
  • Platforms: .NET, .NET Standard 2.0, Island

 

constructor Island

 

constructor

 

__Global()

 

init()

Drivers

 

class method Drivers: Slice<string>

 

static Slice<string> Drivers()

 

static func Drivers() -> Slice<string>

 

func Drivers() Slice<string>

ErrConnDone

 

class var ErrConnDone: error;

 

static error ErrConnDone

 

static var ErrConnDone: error

 

ErrConnDone error

ErrNoRows

 

class var ErrNoRows: error;

 

static error ErrNoRows

 

static var ErrNoRows: error

 

ErrNoRows error

ErrTxDone

 

class var ErrTxDone: error;

 

static error ErrTxDone

 

static var ErrTxDone: error

 

ErrTxDone error

LevelDefault

 

const LevelDefault: IsolationLevel = 0;

 

const IsolationLevel LevelDefault = 0

 

static let LevelDefault: IsolationLevel = 0

 

const LevelDefault IsolationLevel =  = 0

LevelLinearizable

 

const LevelLinearizable: IsolationLevel = 7;

 

const IsolationLevel LevelLinearizable = 7

 

static let LevelLinearizable: IsolationLevel = 7

 

const LevelLinearizable IsolationLevel =  = 7

LevelReadCommitted

 

const LevelReadCommitted: IsolationLevel = 2;

 

const IsolationLevel LevelReadCommitted = 2

 

static let LevelReadCommitted: IsolationLevel = 2

 

const LevelReadCommitted IsolationLevel =  = 2

LevelReadUncommitted

 

const LevelReadUncommitted: IsolationLevel = 1;

 

const IsolationLevel LevelReadUncommitted = 1

 

static let LevelReadUncommitted: IsolationLevel = 1

 

const LevelReadUncommitted IsolationLevel =  = 1

LevelRepeatableRead

 

const LevelRepeatableRead: IsolationLevel = 4;

 

const IsolationLevel LevelRepeatableRead = 4

 

static let LevelRepeatableRead: IsolationLevel = 4

 

const LevelRepeatableRead IsolationLevel =  = 4

LevelSerializable

 

const LevelSerializable: IsolationLevel = 6;

 

const IsolationLevel LevelSerializable = 6

 

static let LevelSerializable: IsolationLevel = 6

 

const LevelSerializable IsolationLevel =  = 6

LevelSnapshot

 

const LevelSnapshot: IsolationLevel = 5;

 

const IsolationLevel LevelSnapshot = 5

 

static let LevelSnapshot: IsolationLevel = 5

 

const LevelSnapshot IsolationLevel =  = 5

LevelWriteCommitted

 

const LevelWriteCommitted: IsolationLevel = 3;

 

const IsolationLevel LevelWriteCommitted = 3

 

static let LevelWriteCommitted: IsolationLevel = 3

 

const LevelWriteCommitted IsolationLevel =  = 3

Named

 

class method Named(name: string; value: Object): NamedArg

 

static NamedArg Named(string name, Object value)

 

static func Named(_ name: string, _ value: Object) -> NamedArg

 

func Named(name string, value interface{}) NamedArg

Parameters:

  • name:
  • value:

Open

 

// .NET, Island
class method Open(driverName: string; dataSourceName: string): tuple of (Reference<DB>, error)
// .NET Standard 2.0
class method Open(driverName: string; dataSourceName: string): ValueTuple<Reference<DB>, error>

 

// .NET, Island
static (Reference<DB>, error) Open(string driverName, string dataSourceName)
// .NET Standard 2.0
static ValueTuple<Reference<DB>, error> Open(string driverName, string dataSourceName)

 

// .NET, Island
static func Open(_ driverName: string, _ dataSourceName: string) -> (Reference<DB>, error)
// .NET Standard 2.0
static func Open(_ driverName: string, _ dataSourceName: string) -> ValueTuple<Reference<DB>, error>

 

// .NET, Island
func Open(driverName string, dataSourceName string) (Reference<DB>, error)
// .NET Standard 2.0
func Open(driverName string, dataSourceName string) ValueTuple<Reference<DB>, error>

Parameters:

  • driverName:
  • dataSourceName:

OpenDB (Connector): Reference<DB> Island

 

class method OpenDB(c: Connector): Reference<DB>

 

static Reference<DB> OpenDB(Connector c)

 

static func OpenDB(_ c: Connector) -> Reference<DB>

 

func OpenDB(c Connector) Reference<DB>

Parameters:

  • c:

OpenDB (Connector): Reference<DB> .NET, .NET Standard 2.0

 

class method OpenDB(c: Connector): Reference<DB>

 

static Reference<DB> OpenDB(Connector c)

 

static func OpenDB(_ c: Connector) -> Reference<DB>

 

func OpenDB(c Connector) Reference<DB>

Parameters:

  • c:

Register (string, Driver) Island

 

class method Register(name: string; driver: Driver)

 

static void Register(string name, Driver driver)

 

static func Register(_ name: string, _ driver: Driver)

 

func Register(name string, driver Driver)

Parameters:

  • name:
  • driver:

Register (string, Driver) .NET, .NET Standard 2.0

 

class method Register(name: string; driver: Driver)

 

static void Register(string name, Driver driver)

 

static func Register(_ name: string, _ driver: Driver)

 

func Register(name string, driver Driver)

Parameters:

  • name:
  • driver:

 

LevelDefault

 

const LevelDefault: IsolationLevel = 0;

 

const IsolationLevel LevelDefault = 0

 

static let LevelDefault: IsolationLevel = 0

 

const LevelDefault IsolationLevel =  = 0

LevelLinearizable

 

const LevelLinearizable: IsolationLevel = 7;

 

const IsolationLevel LevelLinearizable = 7

 

static let LevelLinearizable: IsolationLevel = 7

 

const LevelLinearizable IsolationLevel =  = 7

LevelReadCommitted

 

const LevelReadCommitted: IsolationLevel = 2;

 

const IsolationLevel LevelReadCommitted = 2

 

static let LevelReadCommitted: IsolationLevel = 2

 

const LevelReadCommitted IsolationLevel =  = 2

LevelReadUncommitted

 

const LevelReadUncommitted: IsolationLevel = 1;

 

const IsolationLevel LevelReadUncommitted = 1

 

static let LevelReadUncommitted: IsolationLevel = 1

 

const LevelReadUncommitted IsolationLevel =  = 1

LevelRepeatableRead

 

const LevelRepeatableRead: IsolationLevel = 4;

 

const IsolationLevel LevelRepeatableRead = 4

 

static let LevelRepeatableRead: IsolationLevel = 4

 

const LevelRepeatableRead IsolationLevel =  = 4

LevelSerializable

 

const LevelSerializable: IsolationLevel = 6;

 

const IsolationLevel LevelSerializable = 6

 

static let LevelSerializable: IsolationLevel = 6

 

const LevelSerializable IsolationLevel =  = 6

LevelSnapshot

 

const LevelSnapshot: IsolationLevel = 5;

 

const IsolationLevel LevelSnapshot = 5

 

static let LevelSnapshot: IsolationLevel = 5

 

const LevelSnapshot IsolationLevel =  = 5

LevelWriteCommitted

 

const LevelWriteCommitted: IsolationLevel = 3;

 

const IsolationLevel LevelWriteCommitted = 3

 

static let LevelWriteCommitted: IsolationLevel = 3

 

const LevelWriteCommitted IsolationLevel =  = 3

 

ErrConnDone

 

class var ErrConnDone: error;

 

static error ErrConnDone

 

static var ErrConnDone: error

 

ErrConnDone error

ErrNoRows

 

class var ErrNoRows: error;

 

static error ErrNoRows

 

static var ErrNoRows: error

 

ErrNoRows error

ErrTxDone

 

class var ErrTxDone: error;

 

static error ErrTxDone

 

static var ErrTxDone: error

 

ErrTxDone error

 

Drivers

 

class method Drivers: Slice<string>

 

static Slice<string> Drivers()

 

static func Drivers() -> Slice<string>

 

func Drivers() Slice<string>

Named

 

class method Named(name: string; value: Object): NamedArg

 

static NamedArg Named(string name, Object value)

 

static func Named(_ name: string, _ value: Object) -> NamedArg

 

func Named(name string, value interface{}) NamedArg

Parameters:

  • name:
  • value:

Open

 

// .NET, Island
class method Open(driverName: string; dataSourceName: string): tuple of (Reference<DB>, error)
// .NET Standard 2.0
class method Open(driverName: string; dataSourceName: string): ValueTuple<Reference<DB>, error>

 

// .NET, Island
static (Reference<DB>, error) Open(string driverName, string dataSourceName)
// .NET Standard 2.0
static ValueTuple<Reference<DB>, error> Open(string driverName, string dataSourceName)

 

// .NET, Island
static func Open(_ driverName: string, _ dataSourceName: string) -> (Reference<DB>, error)
// .NET Standard 2.0
static func Open(_ driverName: string, _ dataSourceName: string) -> ValueTuple<Reference<DB>, error>

 

// .NET, Island
func Open(driverName string, dataSourceName string) (Reference<DB>, error)
// .NET Standard 2.0
func Open(driverName string, dataSourceName string) ValueTuple<Reference<DB>, error>

Parameters:

  • driverName:
  • dataSourceName:

OpenDB (Connector): Reference<DB> Island

 

class method OpenDB(c: Connector): Reference<DB>

 

static Reference<DB> OpenDB(Connector c)

 

static func OpenDB(_ c: Connector) -> Reference<DB>

 

func OpenDB(c Connector) Reference<DB>

Parameters:

  • c:

OpenDB (Connector): Reference<DB> .NET, .NET Standard 2.0

 

class method OpenDB(c: Connector): Reference<DB>

 

static Reference<DB> OpenDB(Connector c)

 

static func OpenDB(_ c: Connector) -> Reference<DB>

 

func OpenDB(c Connector) Reference<DB>

Parameters:

  • c:

Register (string, Driver) Island

 

class method Register(name: string; driver: Driver)

 

static void Register(string name, Driver driver)

 

static func Register(_ name: string, _ driver: Driver)

 

func Register(name string, driver Driver)

Parameters:

  • name:
  • driver:

Register (string, Driver) .NET, .NET Standard 2.0

 

class method Register(name: string; driver: Driver)

 

static void Register(string name, Driver driver)

 

static func Register(_ name: string, _ driver: Driver)

 

func Register(name string, driver Driver)

Parameters:

  • name:
  • driver: