Documentation ¶
Overview ¶
Copyright 2021 Molecula Corp. All rights reserved.
Copyright 2021 Molecula Corp. All rights reserved.
Copyright 2021 Molecula Corp. All rights reserved.
Copyright 2021 Molecula Corp. All rights reserved.
Index ¶
Constants ¶
View Source
const ( CompareExactOrdered compareMethod = "exactOrdered" CompareExactUnordered compareMethod = "exactUnordered" CompareIncludedIn compareMethod = "includedIn" ComparePartial compareMethod = "comparePartial" )
Variables ¶
View Source
var TableTests []TableTest = []TableTest{}/* 147 elements not displayed */
TableTests is the list of tests which get run by TestSQL_Execute in sql_test.go. They're defined here just to keep the test definitions separate from the test execution logic.
Functions ¶
This section is empty.
Types ¶
type PQLTest ¶
type PQLTest struct { PQLs []string Table string ExpHdrs []*featurebase.WireQueryField ExpRows [][]interface{} ExpRowsPlus1 [][][]interface{} ExpErr string // contains filtered or unexported fields }
type PlanCheckFunc ¶ added in v3.32.0
type SQLTest ¶
type SQLTest struct { SQLs []string ExpHdrs []*featurebase.WireQueryField ExpRows [][]interface{} ExpRowsPlus1 [][][]interface{} ExpErr string Compare compareMethod SortStringKeys bool ExpRowCount int PlanCheck PlanCheckFunc // contains filtered or unexported fields }
type TableTest ¶
type TableTest struct { Table source SQLTests []SQLTest PQLTests []PQLTest // contains filtered or unexported fields }
var Keyed TableTest = keyed
var Unkeyed TableTest = unkeyed
func (TableTest) CreateTable ¶
func (TableTest) HasData ¶
HasData returns true is TableTest has a data defined which should be inserted.
Source Files ¶
- defs.go
- defs_aggregate.go
- defs_between.go
- defs_binops.go
- defs_bool.go
- defs_bulkinsert.go
- defs_cast.go
- defs_create_table.go
- defs_date_functions.go
- defs_delete.go
- defs_distinct.go
- defs_filterpredicates.go
- defs_groupby.go
- defs_having.go
- defs_in.go
- defs_inserts.go
- defs_join.go
- defs_keyed.go
- defs_keyed_insert.go
- defs_like.go
- defs_minmaxnegative.go
- defs_null.go
- defs_orderby.go
- defs_select.go
- defs_set_functions.go
- defs_sql1.go
- defs_string_functions.go
- defs_subquery.go
- defs_timequantum.go
- defs_timestamp_literals.go
- defs_top.go
- defs_unkeyed.go
- defs_unops.go
- defs_views.go
- types.go
Click to show internal directories.
Click to hide internal directories.