testshared

package
v1.0.0-preview-2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const AllDataTypesTableInline = "datatable(vnum:int, vdec:decimal, vdate:datetime, vspan:timespan, vobj:dynamic, vb:bool, vreal:real, vstr:string, vlong:long, vguid:guid) [" +
	"1, decimal(2.00000000000001), datetime(2020-03-04T14:05:01.3109965Z), timespan(01:23:45.6789000), dynamic({\"moshe\":\"value\"}), true, 0.01, \"asdf\", 9223372036854775807, guid(\"74be27de-1e4e-49d9-b579-fe0b331d3642\")," +
	"1, decimal(2.00000000000001), datetime(2020-03-04T14:05:01.3109965Z), timespan(01:23:45.6789000), dynamic({\"moshe\":\"value\"}), true, 0.01, \"asdf\", 9223372036854775807, guid(\"74be27de-1e4e-49d9-b579-fe0b331d3642\")," +
	"1, decimal(2.00000000000001), datetime(2020-03-04T14:05:01.3109965Z), timespan(01:23:45.6789000), dynamic({\"moshe\":\"value\"}), true, 0.01, \"asdf\", 9223372036854775807, guid(\"74be27de-1e4e-49d9-b579-fe0b331d3642\")," +
	"int(null), decimal(null), datetime(null), timespan(null), dynamic(null), bool(null), real(null), \"\", long(null), guid(null)," +
	"int(null), decimal(null), datetime(null), timespan(null), dynamic(null), bool(null), real(null), \"\", long(null), guid(null)," +
	"int(null), decimal(null), datetime(null), timespan(null), dynamic(null), bool(null), real(null), \"\", long(null), guid(null)," +
	"] | order by vnum"

Variables

This section is empty.

Functions

func CreateAllDataTypesNullTable

func CreateAllDataTypesNullTable(t *testing.T, client *azkustodata.Client, tableName string) error

func CreateAllDataTypesTable

func CreateAllDataTypesTable(t *testing.T, client *azkustodata.Client, tableName string) error

func CreateDefaultTestTableWithDB

func CreateDefaultTestTableWithDB(t *testing.T, client *azkustodata.Client, database string, tableName string) error

func CreateTestTable

func CreateTestTable(t *testing.T, client *azkustodata.Client, tableName string) error

func CreateTestTableWithDB

func CreateTestTableWithDB(t *testing.T, client *azkustodata.Client, database string, tableName string, schema string, ingestion string, mapping string) error

func CreateTestTableWithDBAndScheme

func CreateTestTableWithDBAndScheme(t *testing.T, client *azkustodata.Client, database string, tableName string, schema string, ingestion string, mapping string) error

func SetDefaultDatabase

func SetDefaultDatabase(db string)

Types

type CountResult

type CountResult struct {
	Count int64
}

Jump to

Keyboard shortcuts

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