sqlspanner

package module
v0.0.0-...-05e7db7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2017 License: BSD-3-Clause Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

sqlspanner

Documentation

Index

Constants

View Source
const (
	UnsupportedError   = "Unsupported"
	UnimplementedError = "Unimplemented"
)

Variables

This section is empty.

Functions

func IsValue

func IsValue(v interface{}) bool

Types

type ArgPlaceholder

type ArgPlaceholder struct {
	// contains filtered or unexported fields
}

type Args

type Args struct {
	Cur     int
	Counter int
}

func (*Args) ParseValExpr

func (a *Args) ParseValExpr(expr sqlparser.ValExpr) (interface{}, error)

type AwareKeySet

type AwareKeySet struct {
	Keys     map[string]*Key
	KeyOrder []string
	Args     *Args
}

type Key

type Key struct {
	Name       string
	LowerValue interface{}
	UpperValue interface{}
	LowerOpen  bool
	UpperOpen  bool
	HaveLower  bool
	HaveUpper  bool
}

type MergableKeyRange

type MergableKeyRange struct {
	Start     *partialArgSlice
	End       *partialArgSlice
	LowerOpen bool
	UpperOpen bool
	HaveLower bool
	HaveUpper bool
}

func (*MergableKeyRange) ToKeyRange

func (k *MergableKeyRange) ToKeyRange(args []driver.Value) (*spanner.KeyRange, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL