Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCannotInferArrayElementType = errors.New("cannot infer element type for array literal without explicit type")
)
View Source
var ScalarTypeNameToTypeCodeMap = map[ast.ScalarTypeName]sppb.TypeCode{ ast.BoolTypeName: sppb.TypeCode_BOOL, ast.Int64TypeName: sppb.TypeCode_INT64, ast.Float64TypeName: sppb.TypeCode_FLOAT64, ast.Float32TypeName: sppb.TypeCode_FLOAT32, ast.StringTypeName: sppb.TypeCode_STRING, ast.BytesTypeName: sppb.TypeCode_BYTES, ast.DateTypeName: sppb.TypeCode_DATE, ast.TimestampTypeName: sppb.TypeCode_TIMESTAMP, ast.NumericTypeName: sppb.TypeCode_NUMERIC, ast.JSONTypeName: sppb.TypeCode_JSON, ast.IntervalTypeName: sppb.TypeCode_INTERVAL, }
Functions ¶
func MemefishExprToGCV ¶
func MemefishExprToGCV(expr ast.Expr) (spanner.GenericColumnValue, error)
Types ¶
This section is empty.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cliparams converts CLI-style query parameter assignments ("name:value" arguments or already-split name→value maps) into cloud.google.com/go/spanner.GenericColumnValue maps, using memefish literal parsing via github.com/apstndb/memebridge.
|
Package cliparams converts CLI-style query parameter assignments ("name:value" arguments or already-split name→value maps) into cloud.google.com/go/spanner.GenericColumnValue maps, using memefish literal parsing via github.com/apstndb/memebridge. |
Click to show internal directories.
Click to hide internal directories.