Stmt

Overview

Location

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

Required Methods


Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

Exec

 

// .NET, Island
method Exec(args: Slice<Object>): tuple of (Result, error)
// .NET Standard 2.0
method Exec(args: Slice<Object>): ValueTuple<Result, error>

 

// .NET, Island
(Result, error) Exec(Slice<Object> args)
// .NET Standard 2.0
ValueTuple<Result, error> Exec(Slice<Object> args)

 

// .NET, Island
func Exec(_ args: Slice<Object>) -> (Result, error)
// .NET Standard 2.0
func Exec(_ args: Slice<Object>) -> ValueTuple<Result, error>

 

// .NET, Island
func Exec(args Slice<interface{}>) (Result, error)
// .NET Standard 2.0
func Exec(args Slice<interface{}>) ValueTuple<Result, error>

Parameters:

  • args:

NumInput

 

method NumInput: int

 

int NumInput()

 

func NumInput() -> int

 

func NumInput() int

Query

 

// .NET, Island
method Query(args: Slice<Object>): tuple of (Rows, error)
// .NET Standard 2.0
method Query(args: Slice<Object>): ValueTuple<Rows, error>

 

// .NET, Island
(Rows, error) Query(Slice<Object> args)
// .NET Standard 2.0
ValueTuple<Rows, error> Query(Slice<Object> args)

 

// .NET, Island
func Query(_ args: Slice<Object>) -> (Rows, error)
// .NET Standard 2.0
func Query(_ args: Slice<Object>) -> ValueTuple<Rows, error>

 

// .NET, Island
func Query(args Slice<interface{}>) (Rows, error)
// .NET Standard 2.0
func Query(args Slice<interface{}>) ValueTuple<Rows, error>

Parameters:

  • args: