ConnPrepareContext

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


PrepareContext

 

// .NET, Island
method PrepareContext(ctx: Context; query: string): tuple of (Stmt, error)
// .NET Standard 2.0
method PrepareContext(ctx: Context; query: string): ValueTuple<Stmt, error>

 

// .NET, Island
(Stmt, error) PrepareContext(Context ctx, string query)
// .NET Standard 2.0
ValueTuple<Stmt, error> PrepareContext(Context ctx, string query)

 

// .NET, Island
func PrepareContext(_ ctx: Context, _ query: string) -> (Stmt, error)
// .NET Standard 2.0
func PrepareContext(_ ctx: Context, _ query: string) -> ValueTuple<Stmt, error>

 

// .NET, Island
func PrepareContext(ctx Context, query string) (Stmt, error)
// .NET Standard 2.0
func PrepareContext(ctx Context, query string) ValueTuple<Stmt, error>

Parameters:

  • ctx:
  • query: