Connector

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


Connect

 

// .NET, Island
method Connect(Context): tuple of (Conn, error)
// .NET Standard 2.0
method Connect(Context): ValueTuple<Conn, error>

 

// .NET, Island
(Conn, error) Connect(Context )
// .NET Standard 2.0
ValueTuple<Conn, error> Connect(Context )

 

// .NET, Island
func Connect(_ Context) -> (Conn, error)
// .NET Standard 2.0
func Connect(_ Context) -> ValueTuple<Conn, error>

 

// .NET, Island
func Connect( Context) (Conn, error)
// .NET Standard 2.0
func Connect( Context) ValueTuple<Conn, error>

Parameters:

  • :

Driver

 

method Driver: Driver

 

Driver Driver()

 

func Driver() -> Driver

 

func Driver() Driver