Versions in this module Expand all Collapse all v0 v0.1.1 Jan 2, 2022 Changes in this version + const AutoCommitSessionVar + const BitTypeMaxBits + const BitTypeMinBits + const ChecksumKey + const CurrentDBSessionVar + const DateLayout + const DecimalTypeMaxPrecision + const DecimalTypeMaxScale + const EnumTypeMaxElements + const EnumTypeMinElements + const False + const FoundRows + const IndexBatchSize + const LastInsertId + const N + const NoPad + const OkResultColumnName + const PadSpace + const QueryKey + const RangeType_All + const RangeType_ClosedClosed + const RangeType_ClosedOpen + const RangeType_Empty + const RangeType_GreaterOrEqual + const RangeType_GreaterThan + const RangeType_Invalid + const RangeType_LessOrEqual + const RangeType_LessThan + const RangeType_OpenClosed + const RangeType_OpenOpen + const RowCount + const SetTypeMaxElements + const TimestampDatetimeLayout + const True + const Y + var Blob = MustCreateBinary(sqltypes.Blob, textBlobMax) + var Boolean = Int8 + var CollationToMySQLVals = map[string]mysqlCollationRow + var Collation_Default = Collation_utf8mb4_0900_bin + var Collation_armscii8_bin = newCollation("armscii8_bin", CharacterSet_armscii8) + var Collation_armscii8_general_ci = newCollation("armscii8_general_ci", CharacterSet_armscii8) + var Collation_ascii_bin = newCollation("ascii_bin", CharacterSet_ascii) + var Collation_ascii_general_ci = newCollation("ascii_general_ci", CharacterSet_ascii) + var Collation_big5_bin = newCollation("big5_bin", CharacterSet_big5) + var Collation_big5_chinese_ci = newCollation("big5_chinese_ci", CharacterSet_big5) + var Collation_binary = newCSCollation("binary", CharacterSet_binary) + var Collation_cp1250_bin = newCollation("cp1250_bin", CharacterSet_cp1250) + var Collation_cp1250_croatian_ci = newCollation("cp1250_croatian_ci", CharacterSet_cp1250) + var Collation_cp1250_czech_cs = newCollation("cp1250_czech_cs", CharacterSet_cp1250) + var Collation_cp1250_general_ci = newCollation("cp1250_general_ci", CharacterSet_cp1250) + var Collation_cp1250_polish_ci = newCollation("cp1250_polish_ci", CharacterSet_cp1250) + var Collation_cp1251_bin = newCollation("cp1251_bin", CharacterSet_cp1251) + var Collation_cp1251_bulgarian_ci = newCollation("cp1251_bulgarian_ci", CharacterSet_cp1251) + var Collation_cp1251_general_ci = newCollation("cp1251_general_ci", CharacterSet_cp1251) + var Collation_cp1251_general_cs = newCollation("cp1251_general_cs", CharacterSet_cp1251) + var Collation_cp1251_ukrainian_ci = newCollation("cp1251_ukrainian_ci", CharacterSet_cp1251) + var Collation_cp1256_bin = newCollation("cp1256_bin", CharacterSet_cp1256) + var Collation_cp1256_general_ci = newCollation("cp1256_general_ci", CharacterSet_cp1256) + var Collation_cp1257_bin = newCollation("cp1257_bin", CharacterSet_cp1257) + var Collation_cp1257_general_ci = newCollation("cp1257_general_ci", CharacterSet_cp1257) + var Collation_cp1257_lithuanian_ci = newCollation("cp1257_lithuanian_ci", CharacterSet_cp1257) + var Collation_cp850_bin = newCollation("cp850_bin", CharacterSet_cp850) + var Collation_cp850_general_ci = newCollation("cp850_general_ci", CharacterSet_cp850) + var Collation_cp852_bin = newCollation("cp852_bin", CharacterSet_cp852) + var Collation_cp852_general_ci = newCollation("cp852_general_ci", CharacterSet_cp852) + var Collation_cp866_bin = newCollation("cp866_bin", CharacterSet_cp866) + var Collation_cp866_general_ci = newCollation("cp866_general_ci", CharacterSet_cp866) + var Collation_cp932_bin = newCollation("cp932_bin", CharacterSet_cp932) + var Collation_cp932_japanese_ci = newCollation("cp932_japanese_ci", CharacterSet_cp932) + var Collation_dec8_bin = newCollation("dec8_bin", CharacterSet_dec8) + var Collation_dec8_swedish_ci = newCollation("dec8_swedish_ci", CharacterSet_dec8) + var Collation_eucjpms_bin = newCollation("eucjpms_bin", CharacterSet_eucjpms) + var Collation_eucjpms_japanese_ci = newCollation("eucjpms_japanese_ci", CharacterSet_eucjpms) + var Collation_euckr_bin = newCollation("euckr_bin", CharacterSet_euckr) + var Collation_euckr_korean_ci = newCollation("euckr_korean_ci", CharacterSet_euckr) + var Collation_gb18030_bin = newCollation("gb18030_bin", CharacterSet_gb18030) + var Collation_gb18030_chinese_ci = newCollation("gb18030_chinese_ci", CharacterSet_gb18030) + var Collation_gb18030_unicode_520_ci = newCollation("gb18030_unicode_520_ci", CharacterSet_gb18030) + var Collation_gb2312_bin = newCollation("gb2312_bin", CharacterSet_gb2312) + var Collation_gb2312_chinese_ci = newCollation("gb2312_chinese_ci", CharacterSet_gb2312) + var Collation_gbk_bin = newCollation("gbk_bin", CharacterSet_gbk) + var Collation_gbk_chinese_ci = newCollation("gbk_chinese_ci", CharacterSet_gbk) + var Collation_geostd8_bin = newCollation("geostd8_bin", CharacterSet_geostd8) + var Collation_geostd8_general_ci = newCollation("geostd8_general_ci", CharacterSet_geostd8) + var Collation_greek_bin = newCollation("greek_bin", CharacterSet_greek) + var Collation_greek_general_ci = newCollation("greek_general_ci", CharacterSet_greek) + var Collation_hebrew_bin = newCollation("hebrew_bin", CharacterSet_hebrew) + var Collation_hebrew_general_ci = newCollation("hebrew_general_ci", CharacterSet_hebrew) + var Collation_hp8_bin = newCollation("hp8_bin", CharacterSet_hp8) + var Collation_hp8_english_ci = newCollation("hp8_english_ci", CharacterSet_hp8) + var Collation_keybcs2_bin = newCollation("keybcs2_bin", CharacterSet_keybcs2) + var Collation_keybcs2_general_ci = newCollation("keybcs2_general_ci", CharacterSet_keybcs2) + var Collation_koi8r_bin = newCollation("koi8r_bin", CharacterSet_koi8r) + var Collation_koi8r_general_ci = newCollation("koi8r_general_ci", CharacterSet_koi8r) + var Collation_koi8u_bin = newCollation("koi8u_bin", CharacterSet_koi8u) + var Collation_koi8u_general_ci = newCollation("koi8u_general_ci", CharacterSet_koi8u) + var Collation_latin1_bin = newCollation("latin1_bin", CharacterSet_latin1) + var Collation_latin1_danish_ci = newCollation("latin1_danish_ci", CharacterSet_latin1) + var Collation_latin1_general_ci = newCollation("latin1_general_ci", CharacterSet_latin1) + var Collation_latin1_general_cs = newCollation("latin1_general_cs", CharacterSet_latin1) + var Collation_latin1_german1_ci = newCollation("latin1_german1_ci", CharacterSet_latin1) + var Collation_latin1_german2_ci = newCollation("latin1_german2_ci", CharacterSet_latin1) + var Collation_latin1_spanish_ci = newCollation("latin1_spanish_ci", CharacterSet_latin1) + var Collation_latin1_swedish_ci = newCollation("latin1_swedish_ci", CharacterSet_latin1) + var Collation_latin2_bin = newCollation("latin2_bin", CharacterSet_latin2) + var Collation_latin2_croatian_ci = newCollation("latin2_croatian_ci", CharacterSet_latin2) + var Collation_latin2_czech_cs = newCollation("latin2_czech_cs", CharacterSet_latin2) + var Collation_latin2_general_ci = newCollation("latin2_general_ci", CharacterSet_latin2) + var Collation_latin2_hungarian_ci = newCollation("latin2_hungarian_ci", CharacterSet_latin2) + var Collation_latin5_bin = newCollation("latin5_bin", CharacterSet_latin5) + var Collation_latin5_turkish_ci = newCollation("latin5_turkish_ci", CharacterSet_latin5) + var Collation_latin7_bin = newCollation("latin7_bin", CharacterSet_latin7) + var Collation_latin7_estonian_cs = newCollation("latin7_estonian_cs", CharacterSet_latin7) + var Collation_latin7_general_ci = newCollation("latin7_general_ci", CharacterSet_latin7) + var Collation_latin7_general_cs = newCollation("latin7_general_cs", CharacterSet_latin7) + var Collation_macce_bin = newCollation("macce_bin", CharacterSet_macce) + var Collation_macce_general_ci = newCollation("macce_general_ci", CharacterSet_macce) + var Collation_macroman_bin = newCollation("macroman_bin", CharacterSet_macroman) + var Collation_macroman_general_ci = newCollation("macroman_general_ci", CharacterSet_macroman) + var Collation_sjis_bin = newCollation("sjis_bin", CharacterSet_sjis) + var Collation_sjis_japanese_ci = newCollation("sjis_japanese_ci", CharacterSet_sjis) + var Collation_swe7_bin = newCollation("swe7_bin", CharacterSet_swe7) + var Collation_swe7_swedish_ci = newCollation("swe7_swedish_ci", CharacterSet_swe7) + var Collation_tis620_bin = newCollation("tis620_bin", CharacterSet_tis620) + var Collation_tis620_thai_ci = newCollation("tis620_thai_ci", CharacterSet_tis620) + var Collation_ucs2_bin = newCollation("ucs2_bin", CharacterSet_ucs2) + var Collation_ucs2_croatian_ci = newCollation("ucs2_croatian_ci", CharacterSet_ucs2) + var Collation_ucs2_czech_ci = newCollation("ucs2_czech_ci", CharacterSet_ucs2) + var Collation_ucs2_danish_ci = newCollation("ucs2_danish_ci", CharacterSet_ucs2) + var Collation_ucs2_esperanto_ci = newCollation("ucs2_esperanto_ci", CharacterSet_ucs2) + var Collation_ucs2_estonian_ci = newCollation("ucs2_estonian_ci", CharacterSet_ucs2) + var Collation_ucs2_general_ci = newCollation("ucs2_general_ci", CharacterSet_ucs2) + var Collation_ucs2_general_mysql500_ci = newCollation("ucs2_general_mysql500_ci", CharacterSet_ucs2) + var Collation_ucs2_german2_ci = newCollation("ucs2_german2_ci", CharacterSet_ucs2) + var Collation_ucs2_hungarian_ci = newCollation("ucs2_hungarian_ci", CharacterSet_ucs2) + var Collation_ucs2_icelandic_ci = newCollation("ucs2_icelandic_ci", CharacterSet_ucs2) + var Collation_ucs2_latvian_ci = newCollation("ucs2_latvian_ci", CharacterSet_ucs2) + var Collation_ucs2_lithuanian_ci = newCollation("ucs2_lithuanian_ci", CharacterSet_ucs2) + var Collation_ucs2_persian_ci = newCollation("ucs2_persian_ci", CharacterSet_ucs2) + var Collation_ucs2_polish_ci = newCollation("ucs2_polish_ci", CharacterSet_ucs2) + var Collation_ucs2_roman_ci = newCollation("ucs2_roman_ci", CharacterSet_ucs2) + var Collation_ucs2_romanian_ci = newCollation("ucs2_romanian_ci", CharacterSet_ucs2) + var Collation_ucs2_sinhala_ci = newCollation("ucs2_sinhala_ci", CharacterSet_ucs2) + var Collation_ucs2_slovak_ci = newCollation("ucs2_slovak_ci", CharacterSet_ucs2) + var Collation_ucs2_slovenian_ci = newCollation("ucs2_slovenian_ci", CharacterSet_ucs2) + var Collation_ucs2_spanish2_ci = newCollation("ucs2_spanish2_ci", CharacterSet_ucs2) + var Collation_ucs2_spanish_ci = newCollation("ucs2_spanish_ci", CharacterSet_ucs2) + var Collation_ucs2_swedish_ci = newCollation("ucs2_swedish_ci", CharacterSet_ucs2) + var Collation_ucs2_turkish_ci = newCollation("ucs2_turkish_ci", CharacterSet_ucs2) + var Collation_ucs2_unicode_520_ci = newCollation("ucs2_unicode_520_ci", CharacterSet_ucs2) + var Collation_ucs2_unicode_ci = newCollation("ucs2_unicode_ci", CharacterSet_ucs2) + var Collation_ucs2_vietnamese_ci = newCollation("ucs2_vietnamese_ci", CharacterSet_ucs2) + var Collation_ujis_bin = newCollation("ujis_bin", CharacterSet_ujis) + var Collation_ujis_japanese_ci = newCollation("ujis_japanese_ci", CharacterSet_ujis) + var Collation_utf16_bin = newCollation("utf16_bin", CharacterSet_utf16) + var Collation_utf16_croatian_ci = newCollation("utf16_croatian_ci", CharacterSet_utf16) + var Collation_utf16_czech_ci = newCollation("utf16_czech_ci", CharacterSet_utf16) + var Collation_utf16_danish_ci = newCollation("utf16_danish_ci", CharacterSet_utf16) + var Collation_utf16_esperanto_ci = newCollation("utf16_esperanto_ci", CharacterSet_utf16) + var Collation_utf16_estonian_ci = newCollation("utf16_estonian_ci", CharacterSet_utf16) + var Collation_utf16_general_ci = newCollation("utf16_general_ci", CharacterSet_utf16) + var Collation_utf16_german2_ci = newCollation("utf16_german2_ci", CharacterSet_utf16) + var Collation_utf16_hungarian_ci = newCollation("utf16_hungarian_ci", CharacterSet_utf16) + var Collation_utf16_icelandic_ci = newCollation("utf16_icelandic_ci", CharacterSet_utf16) + var Collation_utf16_latvian_ci = newCollation("utf16_latvian_ci", CharacterSet_utf16) + var Collation_utf16_lithuanian_ci = newCollation("utf16_lithuanian_ci", CharacterSet_utf16) + var Collation_utf16_persian_ci = newCollation("utf16_persian_ci", CharacterSet_utf16) + var Collation_utf16_polish_ci = newCollation("utf16_polish_ci", CharacterSet_utf16) + var Collation_utf16_roman_ci = newCollation("utf16_roman_ci", CharacterSet_utf16) + var Collation_utf16_romanian_ci = newCollation("utf16_romanian_ci", CharacterSet_utf16) + var Collation_utf16_sinhala_ci = newCollation("utf16_sinhala_ci", CharacterSet_utf16) + var Collation_utf16_slovak_ci = newCollation("utf16_slovak_ci", CharacterSet_utf16) + var Collation_utf16_slovenian_ci = newCollation("utf16_slovenian_ci", CharacterSet_utf16) + var Collation_utf16_spanish2_ci = newCollation("utf16_spanish2_ci", CharacterSet_utf16) + var Collation_utf16_spanish_ci = newCollation("utf16_spanish_ci", CharacterSet_utf16) + var Collation_utf16_swedish_ci = newCollation("utf16_swedish_ci", CharacterSet_utf16) + var Collation_utf16_turkish_ci = newCollation("utf16_turkish_ci", CharacterSet_utf16) + var Collation_utf16_unicode_520_ci = newCollation("utf16_unicode_520_ci", CharacterSet_utf16) + var Collation_utf16_unicode_ci = newCollation("utf16_unicode_ci", CharacterSet_utf16) + var Collation_utf16_vietnamese_ci = newCollation("utf16_vietnamese_ci", CharacterSet_utf16) + var Collation_utf16le_bin = newCollation("utf16le_bin", CharacterSet_utf16le) + var Collation_utf16le_general_ci = newCollation("utf16le_general_ci", CharacterSet_utf16le) + var Collation_utf32_bin = newCollation("utf32_bin", CharacterSet_utf32) + var Collation_utf32_croatian_ci = newCollation("utf32_croatian_ci", CharacterSet_utf32) + var Collation_utf32_czech_ci = newCollation("utf32_czech_ci", CharacterSet_utf32) + var Collation_utf32_danish_ci = newCollation("utf32_danish_ci", CharacterSet_utf32) + var Collation_utf32_esperanto_ci = newCollation("utf32_esperanto_ci", CharacterSet_utf32) + var Collation_utf32_estonian_ci = newCollation("utf32_estonian_ci", CharacterSet_utf32) + var Collation_utf32_general_ci = newCollation("utf32_general_ci", CharacterSet_utf32) + var Collation_utf32_german2_ci = newCollation("utf32_german2_ci", CharacterSet_utf32) + var Collation_utf32_hungarian_ci = newCollation("utf32_hungarian_ci", CharacterSet_utf32) + var Collation_utf32_icelandic_ci = newCollation("utf32_icelandic_ci", CharacterSet_utf32) + var Collation_utf32_latvian_ci = newCollation("utf32_latvian_ci", CharacterSet_utf32) + var Collation_utf32_lithuanian_ci = newCollation("utf32_lithuanian_ci", CharacterSet_utf32) + var Collation_utf32_persian_ci = newCollation("utf32_persian_ci", CharacterSet_utf32) + var Collation_utf32_polish_ci = newCollation("utf32_polish_ci", CharacterSet_utf32) + var Collation_utf32_roman_ci = newCollation("utf32_roman_ci", CharacterSet_utf32) + var Collation_utf32_romanian_ci = newCollation("utf32_romanian_ci", CharacterSet_utf32) + var Collation_utf32_sinhala_ci = newCollation("utf32_sinhala_ci", CharacterSet_utf32) + var Collation_utf32_slovak_ci = newCollation("utf32_slovak_ci", CharacterSet_utf32) + var Collation_utf32_slovenian_ci = newCollation("utf32_slovenian_ci", CharacterSet_utf32) + var Collation_utf32_spanish2_ci = newCollation("utf32_spanish2_ci", CharacterSet_utf32) + var Collation_utf32_spanish_ci = newCollation("utf32_spanish_ci", CharacterSet_utf32) + var Collation_utf32_swedish_ci = newCollation("utf32_swedish_ci", CharacterSet_utf32) + var Collation_utf32_turkish_ci = newCollation("utf32_turkish_ci", CharacterSet_utf32) + var Collation_utf32_unicode_520_ci = newCollation("utf32_unicode_520_ci", CharacterSet_utf32) + var Collation_utf32_unicode_ci = newCollation("utf32_unicode_ci", CharacterSet_utf32) + var Collation_utf32_vietnamese_ci = newCollation("utf32_vietnamese_ci", CharacterSet_utf32) + var Collation_utf8_bin = Collation_utf8mb3_bin + var Collation_utf8_croatian_ci = Collation_utf8mb3_croatian_ci + var Collation_utf8_czech_ci = Collation_utf8mb3_czech_ci + var Collation_utf8_danish_ci = Collation_utf8mb3_danish_ci + var Collation_utf8_esperanto_ci = Collation_utf8mb3_esperanto_ci + var Collation_utf8_estonian_ci = Collation_utf8mb3_estonian_ci + var Collation_utf8_general_ci = Collation_utf8mb3_general_ci + var Collation_utf8_general_mysql500_ci = Collation_utf8mb3_general_mysql500_ci + var Collation_utf8_german2_ci = Collation_utf8mb3_german2_ci + var Collation_utf8_hungarian_ci = Collation_utf8mb3_hungarian_ci + var Collation_utf8_icelandic_ci = Collation_utf8mb3_icelandic_ci + var Collation_utf8_latvian_ci = Collation_utf8mb3_latvian_ci + var Collation_utf8_lithuanian_ci = Collation_utf8mb3_lithuanian_ci + var Collation_utf8_persian_ci = Collation_utf8mb3_persian_ci + var Collation_utf8_polish_ci = Collation_utf8mb3_polish_ci + var Collation_utf8_roman_ci = Collation_utf8mb3_roman_ci + var Collation_utf8_romanian_ci = Collation_utf8mb3_romanian_ci + var Collation_utf8_sinhala_ci = Collation_utf8mb3_sinhala_ci + var Collation_utf8_slovak_ci = Collation_utf8mb3_slovak_ci + var Collation_utf8_slovenian_ci = Collation_utf8mb3_slovenian_ci + var Collation_utf8_spanish2_ci = Collation_utf8mb3_spanish2_ci + var Collation_utf8_spanish_ci = Collation_utf8mb3_spanish_ci + var Collation_utf8_swedish_ci = Collation_utf8mb3_swedish_ci + var Collation_utf8_tolower_ci = Collation_utf8mb3_tolower_ci + var Collation_utf8_turkish_ci = Collation_utf8mb3_turkish_ci + var Collation_utf8_unicode_520_ci = Collation_utf8mb3_unicode_520_ci + var Collation_utf8_unicode_ci = Collation_utf8mb3_unicode_ci + var Collation_utf8_vietnamese_ci = Collation_utf8mb3_vietnamese_ci + var Collation_utf8mb3_bin = newCollation("utf8mb3_bin", CharacterSet_utf8mb3) + var Collation_utf8mb3_croatian_ci = newCollation("utf8mb3_croatian_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_czech_ci = newCollation("utf8mb3_czech_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_danish_ci = newCollation("utf8mb3_danish_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_esperanto_ci = newCollation("utf8mb3_esperanto_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_estonian_ci = newCollation("utf8mb3_estonian_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_general_ci = newCollation("utf8mb3_general_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_general_mysql500_ci = newCollation("utf8mb3_general_mysql500_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_german2_ci = newCollation("utf8mb3_german2_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_hungarian_ci = newCollation("utf8mb3_hungarian_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_icelandic_ci = newCollation("utf8mb3_icelandic_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_latvian_ci = newCollation("utf8mb3_latvian_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_lithuanian_ci = newCollation("utf8mb3_lithuanian_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_persian_ci = newCollation("utf8mb3_persian_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_polish_ci = newCollation("utf8mb3_polish_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_roman_ci = newCollation("utf8mb3_roman_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_romanian_ci = newCollation("utf8mb3_romanian_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_sinhala_ci = newCollation("utf8mb3_sinhala_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_slovak_ci = newCollation("utf8mb3_slovak_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_slovenian_ci = newCollation("utf8mb3_slovenian_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_spanish2_ci = newCollation("utf8mb3_spanish2_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_spanish_ci = newCollation("utf8mb3_spanish_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_swedish_ci = newCollation("utf8mb3_swedish_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_tolower_ci = newCollation("utf8mb3_tolower_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_turkish_ci = newCollation("utf8mb3_turkish_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_unicode_520_ci = newCollation("utf8mb3_unicode_520_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_unicode_ci = newCollation("utf8mb3_unicode_ci", CharacterSet_utf8mb3) + var Collation_utf8mb3_vietnamese_ci = newCollation("utf8mb3_vietnamese_ci", CharacterSet_utf8mb3) + var Collation_utf8mb4_0900_ai_ci = newCollation("utf8mb4_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_0900_as_ci = newCollation("utf8mb4_0900_as_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_0900_as_cs = newCollation("utf8mb4_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_0900_bin = newCollation("utf8mb4_0900_bin", CharacterSet_utf8mb4) + var Collation_utf8mb4_bin = newCollation("utf8mb4_bin", CharacterSet_utf8mb4) + var Collation_utf8mb4_croatian_ci = newCollation("utf8mb4_croatian_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_cs_0900_ai_ci = newCollation("utf8mb4_cs_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_cs_0900_as_cs = newCollation("utf8mb4_cs_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_czech_ci = newCollation("utf8mb4_czech_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_da_0900_ai_ci = newCollation("utf8mb4_da_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_da_0900_as_cs = newCollation("utf8mb4_da_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_danish_ci = newCollation("utf8mb4_danish_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_de_pb_0900_ai_ci = newCollation("utf8mb4_de_pb_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_de_pb_0900_as_cs = newCollation("utf8mb4_de_pb_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_eo_0900_ai_ci = newCollation("utf8mb4_eo_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_eo_0900_as_cs = newCollation("utf8mb4_eo_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_es_0900_ai_ci = newCollation("utf8mb4_es_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_es_0900_as_cs = newCollation("utf8mb4_es_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_es_trad_0900_ai_ci = newCollation("utf8mb4_es_trad_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_es_trad_0900_as_cs = newCollation("utf8mb4_es_trad_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_esperanto_ci = newCollation("utf8mb4_esperanto_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_estonian_ci = newCollation("utf8mb4_estonian_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_et_0900_ai_ci = newCollation("utf8mb4_et_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_et_0900_as_cs = newCollation("utf8mb4_et_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_general_ci = newCollation("utf8mb4_general_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_german2_ci = newCollation("utf8mb4_german2_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_hr_0900_ai_ci = newCollation("utf8mb4_hr_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_hr_0900_as_cs = newCollation("utf8mb4_hr_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_hu_0900_ai_ci = newCollation("utf8mb4_hu_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_hu_0900_as_cs = newCollation("utf8mb4_hu_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_hungarian_ci = newCollation("utf8mb4_hungarian_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_icelandic_ci = newCollation("utf8mb4_icelandic_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_is_0900_ai_ci = newCollation("utf8mb4_is_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_is_0900_as_cs = newCollation("utf8mb4_is_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_ja_0900_as_cs = newCollation("utf8mb4_ja_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_ja_0900_as_cs_ks = newCollation("utf8mb4_ja_0900_as_cs_ks", CharacterSet_utf8mb4) + var Collation_utf8mb4_la_0900_ai_ci = newCollation("utf8mb4_la_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_la_0900_as_cs = newCollation("utf8mb4_la_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_latvian_ci = newCollation("utf8mb4_latvian_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_lithuanian_ci = newCollation("utf8mb4_lithuanian_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_lt_0900_ai_ci = newCollation("utf8mb4_lt_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_lt_0900_as_cs = newCollation("utf8mb4_lt_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_lv_0900_ai_ci = newCollation("utf8mb4_lv_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_lv_0900_as_cs = newCollation("utf8mb4_lv_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_persian_ci = newCollation("utf8mb4_persian_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_pl_0900_ai_ci = newCollation("utf8mb4_pl_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_pl_0900_as_cs = newCollation("utf8mb4_pl_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_polish_ci = newCollation("utf8mb4_polish_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_ro_0900_ai_ci = newCollation("utf8mb4_ro_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_ro_0900_as_cs = newCollation("utf8mb4_ro_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_roman_ci = newCollation("utf8mb4_roman_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_romanian_ci = newCollation("utf8mb4_romanian_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_ru_0900_ai_ci = newCollation("utf8mb4_ru_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_ru_0900_as_cs = newCollation("utf8mb4_ru_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_sinhala_ci = newCollation("utf8mb4_sinhala_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_sk_0900_ai_ci = newCollation("utf8mb4_sk_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_sk_0900_as_cs = newCollation("utf8mb4_sk_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_sl_0900_ai_ci = newCollation("utf8mb4_sl_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_sl_0900_as_cs = newCollation("utf8mb4_sl_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_slovak_ci = newCollation("utf8mb4_slovak_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_slovenian_ci = newCollation("utf8mb4_slovenian_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_spanish2_ci = newCollation("utf8mb4_spanish2_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_spanish_ci = newCollation("utf8mb4_spanish_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_sv_0900_ai_ci = newCollation("utf8mb4_sv_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_sv_0900_as_cs = newCollation("utf8mb4_sv_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_swedish_ci = newCollation("utf8mb4_swedish_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_tr_0900_ai_ci = newCollation("utf8mb4_tr_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_tr_0900_as_cs = newCollation("utf8mb4_tr_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_turkish_ci = newCollation("utf8mb4_turkish_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_unicode_520_ci = newCollation("utf8mb4_unicode_520_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_unicode_ci = newCollation("utf8mb4_unicode_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_vi_0900_ai_ci = newCollation("utf8mb4_vi_0900_ai_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_vi_0900_as_cs = newCollation("utf8mb4_vi_0900_as_cs", CharacterSet_utf8mb4) + var Collation_utf8mb4_vietnamese_ci = newCollation("utf8mb4_vietnamese_ci", CharacterSet_utf8mb4) + var Collation_utf8mb4_zh_0900_as_cs = newCollation("utf8mb4_zh_0900_as_cs", CharacterSet_utf8mb4) + var Collations = map[string]Collation + var Date = MustCreateDatetimeType(sqltypes.Date) + var Datetime = MustCreateDatetimeType(sqltypes.Datetime) + var ErrAlterTableNotSupported = errors.NewKind("table %s cannot be altered") + var ErrAmbiguousColumnInOrderBy = errors.NewKind("Column %q in order clause is ambiguous") + var ErrAmbiguousColumnName = errors.NewKind("ambiguous column name %q, it's present in all these tables: %v") + var ErrAsOfNotSupported = errors.NewKind("AS OF not supported for database %s") + var ErrBinaryCollation = errors.NewKind("binary types must have the binary collation") + var ErrCallIncorrectParameterCount = errors.NewKind("`%s` expected `%d` parameters but got `%d`") + var ErrCannotAddToClosedBackgroundThreads = errors.New("cannot add to a close background threads instance") + var ErrCantDropFieldOrKey = errors.NewKind("error: can't drop '%s'; check that column/key exists") + var ErrCantDropIndex = errors.NewKind("error: can't drop index '%s': needed in a foreign key constraint") + var ErrCharacterSetNotSupported = errors.NewKind("Unknown character set: %v") + var ErrCheckConstraintViolated = errors.NewKind(ErrCheckConstraintViolatedFmtStr) + var ErrCheckConstraintViolatedFmtStr = "Check constraint %q violated" + var ErrChildrenAlreadyWritten = errors.New("treeprinter: children already written") + var ErrCollationNotSupported = errors.NewKind("Unknown collation: %v") + var ErrColumnCountMismatch = errors.NewKind(...) + var ErrColumnDefaultDatetimeOnlyFunc = errors.NewKind(...) + var ErrColumnDefaultReturnedNull = errors.NewKind(`default value attempted to return null but column is non-nullable`) + var ErrColumnDefaultSubquery = errors.NewKind("default value on column `%s` may not contain subqueries") + var ErrColumnExists = errors.NewKind("Column %q already exists") + var ErrColumnNotFound = errors.NewKind("column %q could not be found in any table in scope") + var ErrConvertToDecimalLimit = errors.NewKind("value of Decimal is too large for type") + var ErrConvertToSQL = errors.NewKind("incompatible conversion to SQL type: %s") + var ErrConvertingToDecimal = errors.NewKind("value %v is not a valid Decimal") + var ErrConvertingToEnum = errors.NewKind("value %v is not valid for this Enum") + var ErrConvertingToJSON = errors.NewKind("value %v is not valid JSON") + var ErrConvertingToSet = errors.NewKind("value %v is not valid for this set") + var ErrConvertingToTime = errors.NewKind("value %q can't be converted to time.Time") + var ErrConvertingToTimeOutOfRange = errors.NewKind("value %q is outside of %v range") + var ErrDatabaseExists = errors.NewKind("can't create database %s; database exists") + var ErrDatabaseNotFound = errors.NewKind("database not found: %s") + var ErrDeclareConditionDuplicate = errors.NewKind("duplicate condition '%s'") + var ErrDeclareConditionNotFound = errors.NewKind("condition %s does not exist") + var ErrDeclareOrderInvalid = errors.NewKind("DECLARE may only exist at the beginning of a BEGIN/END block") + var ErrDeleteRowNotFound = errors.NewKind("row was not found when attempting to delete") + var ErrDropColumnReferencedInDefault = errors.NewKind(`cannot drop column "%s" as default value of column "%s" references it`) + var ErrDuplicateAliasOrTable = errors.NewKind("Not unique table/alias: %s") + var ErrDuplicateEntry = errors.NewKind("Duplicate entry for key '%s'") + var ErrDuplicateEntrySet = errors.NewKind("duplicate entry: %v") + var ErrExistingView = errors.NewKind("the view %s.%s already exists") + var ErrExpectedSingleRow = errors.NewKind("the subquery returned more than 1 row") + var ErrForeignKeyChildViolation = errors.NewKind(...) + var ErrForeignKeyColumnCountMismatch = errors.NewKind("the foreign key must reference an equivalent number of columns") + var ErrForeignKeyNotResolved = errors.NewKind(...) + var ErrForeignKeyParentViolation = errors.NewKind(...) + var ErrFunctionNotFound = errors.NewKind("function: '%s' not found") + var ErrImmutableDatabaseProvider = errors.NewKind("error: can't modify database databaseProvider") + var ErrIncompatibleAsOf = errors.NewKind("incompatible use of AS OF: %s") + var ErrIncompatibleDefaultType = errors.NewKind("incompatible type for default value") + var ErrIndexDeleteInvalidStatus = errors.NewKind("can't delete index %q because it's not ready for removal") + var ErrIndexExpressionAlreadyRegistered = errors.NewKind("there is already an index registered for the expressions: %s") + var ErrIndexIDAlreadyRegistered = errors.NewKind("an index with id %q has already been registered") + var ErrIndexNotFound = errors.NewKind("index %q was not found") + var ErrInsertIntoNonNullableDefaultNullColumn = errors.NewKind("Field '%s' doesn't have a default value") + var ErrInsertIntoNonNullableProvidedNull = errors.NewKind("column name '%v' is non-nullable but attempted to set a value of null") + var ErrInvalidArgument = errors.NewKind("Incorrect arguments to %s") + var ErrInvalidArgumentNumber = errors.NewKind("function '%s' expected %v arguments, %v received") + var ErrInvalidAsOfExpression = errors.NewKind("expression %s cannot be used in AS OF") + var ErrInvalidAutoIncCols = errors.NewKind("there can be only one auto_increment column and it must be defined as a key") + var ErrInvalidBaseType = errors.NewKind("%v is not a valid %v base type") + var ErrInvalidCheckConstraint = errors.NewKind("invalid constraint definition: %s") + var ErrInvalidChildType = errors.NewKind("%T: invalid child type, got %T, expected %T") + var ErrInvalidChildrenNumber = errors.NewKind("%T: invalid children number, got %d, expected %d") + var ErrInvalidColExpr = errors.NewKind("the expression `%s` could not be found from the index `%s`") + var ErrInvalidColTypeDefinition = errors.NewKind("column %s type definition is invalid: %s") + var ErrInvalidColumnDefaultFunction = errors.NewKind("function `%s` on column `%s` is not valid for usage in a default value") + var ErrInvalidColumnNumber = errors.NewKind("tuple should contain %d column(s), but has %d") + var ErrInvalidConstraintFunctionsNotSupported = errors.NewKind("Invalid constraint expression, functions not supported: %s") + var ErrInvalidConstraintSubqueryNotSupported = errors.NewKind("Invalid constraint expression, sub-queries not supported: %s") + var ErrInvalidDefaultValueOrder = errors.NewKind(...) + var ErrInvalidIndexPrefix = errors.NewKind("invalid index prefix: %v") + var ErrInvalidJSONText = errors.NewKind("Invalid JSON text: %s") + var ErrInvalidOperandColumns = errors.NewKind("operand should have %d columns, but has %d") + var ErrInvalidRangeType = errors.NewKind("encountered the RangeType_Invalid") + var ErrInvalidSQLValType = errors.NewKind("invalid SQLVal of type: %d") + var ErrInvalidSetValue = errors.NewKind("value %v was not found in the set") + var ErrInvalidSyntax = errors.NewKind("Invalid syntax: %s") + var ErrInvalidSystemVariableValue = errors.NewKind("Variable '%s' can't be set to the value of '%v'") + var ErrInvalidTextBlobColumnDefault = errors.NewKind("text/blob types may only have expression default values") + var ErrInvalidType = errors.NewKind("invalid type: %s") + var ErrInvalidUpdateInAfterTrigger = errors.NewKind("Updating of new row is not allowed in after trigger") + var ErrInvalidUpdateOfOldRow = errors.NewKind("Updating of old row is not allowed in trigger") + var ErrInvalidUseOfOldNew = errors.NewKind("There is no %s row in on %s trigger") + var ErrInvalidValue = errors.NewKind(`error: '%v' is not a valid value for '%v'`) + var ErrInvalidValueType = errors.NewKind(`error: '%T' is not a valid value type for '%v'`) + var ErrJSONObjectAggNullKey = errors.NewKind("JSON documents may not contain NULL member names") + var ErrKeyColumnDoesNotExist = errors.NewKind("error: key column '%s' doesn't exist in table") + var ErrKeyNotFound = errors.NewKind("memory: key %d not found in cache") + var ErrLengthBeyondLimit = errors.NewKind("string is too large for column") + var ErrLengthTooLarge = errors.NewKind("length is %v but max allowed is %v") + var ErrLoadDataCannotOpen = errors.NewKind("LOAD DATA is unable to open file: %s") + var ErrLoadDataCharacterLength = errors.NewKind("%s must be 1 character long") + var ErrLockDoesNotExist = errors.NewKind("Lock '%s' does not exist.") + var ErrLockNotOwned = errors.NewKind("Operation '%s' failed as the lock '%s' has a different owner.") + var ErrLockTimeout = errors.NewKind("Timeout acquiring lock '%s'.") + var ErrMarshalNullDecimal = errors.NewKind("Decimal cannot marshal a null value") + var ErrMisusedAlias = errors.NewKind(...) + var ErrMultiplePrimaryKeysDefined = errors.NewKind("error: Multiple primary keys defined") + var ErrNoAutoIncrementCol = fmt.Errorf("this table has no AUTO_INCREMENT columns") + var ErrNoDatabaseSelected = errors.NewKind("no database selected") + var ErrNoMemoryAvailable = errors.NewKind("no memory available") + var ErrNodeAlreadyWritten = errors.New("treeprinter: node already written") + var ErrNodeNotWritten = errors.New("treeprinter: a child was written before the node") + var ErrNotArray = errors.NewKind("value of type %T is not an array") + var ErrNotGenerator = errors.NewKind("cannot convert value of type %T to a generator") + var ErrNotTuple = errors.NewKind("value of type %T is not a tuple") + var ErrOutOfRange = errors.NewKind("%v out of range for %v") + var ErrPartitionNotFound = errors.NewKind("partition not found %q") + var ErrPidAlreadyUsed = errors.NewKind("pid %d is already in use") + var ErrPrimaryKeyViolation = errors.NewKind("duplicate primary key given") + var ErrProcedureCreateStatementInvalid = errors.NewKind(`Invalid CREATE PROCEDURE statement: %s`) + var ErrProcedureDuplicateParameterName = errors.NewKind("duplicate parameter name `%s` on stored procedure `%s`") + var ErrProcedureInvalidBodyStatement = errors.NewKind("`%s` statements are invalid inside of stored procedures") + var ErrProcedureRecursiveCall = errors.NewKind("recursive CALL on stored procedure `%s`") + var ErrRangeSimplification = errors.NewKind("attempting to simplify ranges has removed all ranges") + var ErrReadOnlyTransaction = errors.NewKind("cannot execute statement in a READ ONLY transaction") + var ErrSavepointDoesNotExist = errors.NewKind("SAVEPOINT %s does not exist") + var ErrSessionDoesNotSupportPersistence = errors.NewKind("session does not support persistence") + var ErrSignalOnlySqlState = errors.NewKind("SIGNAL/RESIGNAL can only use a condition defined with SQLSTATE") + var ErrStoredProcedureAlreadyExists = errors.NewKind(`stored procedure "%s" already exists`) + var ErrStoredProcedureDoesNotExist = errors.NewKind(`stored procedure "%s" does not exist`) + var ErrStoredProceduresNotSupported = errors.NewKind(`database "%s" doesn't support stored procedures`) + var ErrSyntaxError = errors.NewKind("%s") + var ErrSystemVariableCodeFail = errors.NewKind("unable to encode/decode value '%v' for '%s'") + var ErrSystemVariableGlobalOnly = errors.NewKind(`Variable '%s' is a GLOBAL variable and should be set with SET GLOBAL`) + var ErrSystemVariableReadOnly = errors.NewKind(`Variable '%s' is a read only variable`) + var ErrSystemVariableSessionOnly = errors.NewKind(`Variable '%s' is a SESSION variable and can't be used with SET GLOBAL`) + var ErrTableAlreadyExists = errors.NewKind("table with name %s already exists") + var ErrTableColumnNotFound = errors.NewKind("table %q does not have column %q") + var ErrTableCopyingNotSupported = errors.NewKind("error: Table copying not supported") + var ErrTableNotFound = errors.NewKind("table not found: %s") + var ErrTemporaryTableNotSupported = errors.NewKind("database does not support temporary tables") + var ErrTooLargeForSet = errors.NewKind(`value "%v" is too large for this set`) + var ErrTriggerCannotBeDropped = errors.NewKind(`trigger "%s" cannot be dropped as it is referenced by trigger "%s"`) + var ErrTriggerCreateStatementInvalid = errors.NewKind(`Invalid CREATE TRIGGER statement: %s`) + var ErrTriggerDoesNotExist = errors.NewKind(`trigger "%s" does not exist`) + var ErrTriggerTableInUse = errors.NewKind(...) + var ErrTriggersNotSupported = errors.NewKind(`database "%s" doesn't support triggers`) + var ErrTruncateReferencedFromForeignKey = errors.NewKind("cannot truncate table %s as it is referenced in foreign key %s on table %s") + var ErrUnableSort = errors.NewKind("unable to sort") + var ErrUnboundPreparedStatementVariable = errors.NewKind(`unbound variable "%s" in query`) + var ErrUnexpectedRowLength = errors.NewKind("expected %d values, got %d") + var ErrUnexpectedType = errors.NewKind("value at %d has unexpected type: %s") + var ErrUniqueKeyViolation = errors.NewKind("duplicate unique key given") + var ErrUnknownConstraint = errors.NewKind("Constraint %q does not exist") + var ErrUnknownConstraintDefinition = errors.NewKind("unknown constraint definition: %s, %T") + var ErrUnknownIndexColumn = errors.NewKind("unknown column: '%s' in index '%s'") + var ErrUnknownSystemVariable = errors.NewKind(`Unknown system variable '%s'`) + var ErrUnmarshallingEnum = errors.NewKind("value %v is not a marshalled value for this Enum") + var ErrUnsupportedFeature = errors.NewKind("unsupported feature: %s") + var ErrUnsupportedSyntax = errors.NewKind("unsupported syntax: %s") + var ErrUserVariableNoDefault = errors.NewKind(`User variable '%s' does not have a default value`) + var ErrUuidUnableToParse = errors.NewKind("unable to parse '%s' to UUID: %s") + var ErrViewDoesNotExist = errors.NewKind("the view %s.%s does not exist") + var ErrWrongAutoKey = errors.NewKind(...) + var Float32 = MustCreateNumberType(sqltypes.Float32) + var Float64 = MustCreateNumberType(sqltypes.Float64) + var Int16 = MustCreateNumberType(sqltypes.Int16) + var Int24 = MustCreateNumberType(sqltypes.Int24) + var Int32 = MustCreateNumberType(sqltypes.Int32) + var Int64 = MustCreateNumberType(sqltypes.Int64) + var Int8 = MustCreateNumberType(sqltypes.Int8) + var LongBlob = MustCreateBinary(sqltypes.Blob, longTextBlobMax) + var LongText = MustCreateStringWithDefaults(sqltypes.Text, longTextBlobMax) + var MediumBlob = MustCreateBinary(sqltypes.Blob, mediumTextBlobMax) + var MediumText = MustCreateStringWithDefaults(sqltypes.Text, ...) + var OkResultColumnType = Int64 + var OkResultSchema = Schema + var SupportedCharsets = []CharacterSet + var SupportedEngines = []Engine + var SystemVariables = &globalSystemVariables + var Text = MustCreateStringWithDefaults(sqltypes.Text, textBlobMax / Collation_Default.CharacterSet().MaxLength()) + var Timestamp = MustCreateDatetimeType(sqltypes.Timestamp) + var TimestampDatetimeLayouts = []string + var TinyBlob = MustCreateBinary(sqltypes.Blob, tinyTextBlobMax) + var TinyText = MustCreateStringWithDefaults(sqltypes.Text, tinyTextBlobMax / Collation_Default.CharacterSet().MaxLength()) + var Uint16 = MustCreateNumberType(sqltypes.Uint16) + var Uint24 = MustCreateNumberType(sqltypes.Uint24) + var Uint32 = MustCreateNumberType(sqltypes.Uint32) + var Uint64 = MustCreateNumberType(sqltypes.Uint64) + var Uint8 = MustCreateNumberType(sqltypes.Uint8) + func AreComparable(types ...Type) bool + func CastSQLError(err error) (*mysql.SQLError, error, bool) + func ConvertToBool(v interface{}) (bool, error) + func DBTableIter(ctx *Context, db Database, cb func(Table) (cont bool, err error)) error + func DebugString(nodeOrExpression interface{}) string + func Dispose(i interface{}) + func ErrIfMismatchedColumns(t1, t2 Type) error + func ErrIfMismatchedColumnsInTuple(t1, t2 Type) error + func EvaluateCondition(ctx *Context, cond Expression, row Row) (interface{}, error) + func FormatRow(row Row) string + func GetRangeCutKey(c RangeCut) interface + func GetTableNameInsensitive(tblName string, tableNames []string) (string, bool) + func GetTmpdirSessionVar() string + func HasAvailableMemory(r Reporter) bool + func HasDefaultValue(ctx *Context, s Session, key string) (bool, interface{}) + func HashOf(v Row) (uint64, error) + func InitSystemVariables() + func Inspect(expr Expression, f func(expr Expression) bool) + func IsArray(t Type) bool + func IsBlob(t Type) bool + func IsDecimal(t Type) bool + func IsFalse(val interface{}) bool + func IsFloat(t Type) bool + func IsInteger(t Type) bool + func IsJSON(t Type) bool + func IsKeyless(s Schema) bool + func IsNull(ex Expression) bool + func IsNumber(t Type) bool + func IsOkResult(row Row) bool + func IsOkResultSchema(schema Schema) bool + func IsSigned(t Type) bool + func IsText(t Type) bool + func IsTextBlob(t Type) bool + func IsTextOnly(t Type) bool + func IsTime(t Type) bool + func IsTrue(val interface{}) bool + func IsTuple(t Type) bool + func IsUnsigned(t Type) bool + func MustConvert(val interface{}, err error) interface + func NewMapCache() mapCache + func NewUniqueKeyErr(keyStr string, isPK bool, existing Row) error + func NumColumns(t Type) int + func NumericUnaryValue(t Type) interface + func OrderedCuts(l, r RangeCut, typ Type) (RangeCut, RangeCut, error) + func RunWithNowFunc(nowFunc func() time.Time, fn func() error) error + func TypesEqual(a, b Type) bool + func ValidateTime(t time.Time) interface + func Walk(v Visitor, expr Expression) + func WalkWithNode(v NodeVisitor, n Node, expr Expression) + type Above struct + func (Above) TypeAsLowerBound() RangeBoundType + func (Above) TypeAsUpperBound() RangeBoundType + func (a Above) Compare(c RangeCut, typ Type) (int, error) + func (a Above) String() string + type AboveAll struct + func (AboveAll) Compare(c RangeCut, typ Type) (int, error) + func (AboveAll) String() string + func (AboveAll) TypeAsLowerBound() RangeBoundType + func (AboveAll) TypeAsUpperBound() RangeBoundType + type Aggregation interface + NewBuffer func() (AggregationBuffer, error) + type AggregationBuffer interface + Eval func(*Context) (interface{}, error) + Update func(ctx *Context, row Row) error + type AlterableTable interface + AddColumn func(ctx *Context, column *Column, order *ColumnOrder) error + DropColumn func(ctx *Context, columnName string) error + ModifyColumn func(ctx *Context, columnName string, column *Column, order *ColumnOrder) error + type AutoIncrementSetter interface + SetAutoIncrementValue func(*Context, interface{}) error + type AutoIncrementTable interface + AutoIncrementSetter func(*Context) AutoIncrementSetter + GetNextAutoIncrementValue func(ctx *Context, insertVal interface{}) (interface{}, error) + PeekNextAutoIncrementValue func(*Context) (interface{}, error) + type BackgroundThreads struct + func NewBackgroundThreads() *BackgroundThreads + func (bt *BackgroundThreads) Add(name string, f func(ctx context.Context)) error + func (bt *BackgroundThreads) Shutdown() error + type BaseSession struct + func NewBaseSession() *BaseSession + func NewBaseSessionWithClientServer(server string, client Client, id uint32) *BaseSession + func (s *BaseSession) AddLock(lockName string) error + func (s *BaseSession) Address() string + func (s *BaseSession) ClearWarnings() + func (s *BaseSession) Client() Client + func (s *BaseSession) CommitTransaction(*Context, string, Transaction) error + func (s *BaseSession) DelLock(lockName string) error + func (s *BaseSession) GetAllSessionVariables() map[string]interface{} + func (s *BaseSession) GetCurrentDatabase() string + func (s *BaseSession) GetIgnoreAutoCommit() bool + func (s *BaseSession) GetIndexRegistry() *IndexRegistry + func (s *BaseSession) GetLastQueryInfo(key string) int64 + func (s *BaseSession) GetLogger() *logrus.Entry + func (s *BaseSession) GetQueriedDatabase() string + func (s *BaseSession) GetSessionVariable(ctx *Context, sysVarName string) (interface{}, error) + func (s *BaseSession) GetTransaction() Transaction + func (s *BaseSession) GetUserVariable(ctx *Context, varName string) (Type, interface{}, error) + func (s *BaseSession) GetViewRegistry() *ViewRegistry + func (s *BaseSession) ID() uint32 + func (s *BaseSession) IterLocks(cb func(name string) error) error + func (s *BaseSession) SetCurrentDatabase(dbName string) + func (s *BaseSession) SetIgnoreAutoCommit(ignore bool) + func (s *BaseSession) SetIndexRegistry(reg *IndexRegistry) + func (s *BaseSession) SetLastQueryInfo(key string, value int64) + func (s *BaseSession) SetLogger(logger *logrus.Entry) + func (s *BaseSession) SetQueriedDatabase(dbName string) + func (s *BaseSession) SetSessionVariable(ctx *Context, sysVarName string, value interface{}) error + func (s *BaseSession) SetTransaction(tx Transaction) + func (s *BaseSession) SetUserVariable(ctx *Context, varName string, value interface{}) error + func (s *BaseSession) SetViewRegistry(reg *ViewRegistry) + func (s *BaseSession) Warn(warn *Warning) + func (s *BaseSession) WarningCount() uint16 + func (s *BaseSession) Warnings() []*Warning + type Below struct + func (Below) TypeAsLowerBound() RangeBoundType + func (Below) TypeAsUpperBound() RangeBoundType + func (b Below) Compare(c RangeCut, typ Type) (int, error) + func (b Below) String() string + type BelowAll struct + func (BelowAll) Compare(c RangeCut, typ Type) (int, error) + func (BelowAll) String() string + func (BelowAll) TypeAsLowerBound() RangeBoundType + func (BelowAll) TypeAsUpperBound() RangeBoundType + type BitType interface + NumberOfBits func() uint8 + func CreateBitType(numOfBits uint8) (BitType, error) + func MustCreateBitType(numOfBits uint8) BitType + type Catalog interface + AllDatabases func() []Database + CreateDatabase func(ctx *Context, dbName string) error + Database func(db string) (Database, error) + Function func(name string) (Function, error) + HasDB func(db string) bool + LockTable func(ctx *Context, table string) + RegisterFunction func(fns ...Function) + RemoveDatabase func(ctx *Context, dbName string) error + Table func(ctx *Context, dbName, tableName string) (Table, Database, error) + TableAsOf func(ctx *Context, dbName, tableName string, asOf interface{}) (Table, Database, error) + UnlockTables func(ctx *Context, id uint32) error + type CharacterSet string + const CharacterSet_armscii8 + const CharacterSet_ascii + const CharacterSet_big5 + const CharacterSet_binary + const CharacterSet_cp1250 + const CharacterSet_cp1251 + const CharacterSet_cp1256 + const CharacterSet_cp1257 + const CharacterSet_cp850 + const CharacterSet_cp852 + const CharacterSet_cp866 + const CharacterSet_cp932 + const CharacterSet_dec8 + const CharacterSet_eucjpms + const CharacterSet_euckr + const CharacterSet_gb18030 + const CharacterSet_gb2312 + const CharacterSet_gbk + const CharacterSet_geostd8 + const CharacterSet_greek + const CharacterSet_hebrew + const CharacterSet_hp8 + const CharacterSet_keybcs2 + const CharacterSet_koi8r + const CharacterSet_koi8u + const CharacterSet_latin1 + const CharacterSet_latin2 + const CharacterSet_latin5 + const CharacterSet_latin7 + const CharacterSet_macce + const CharacterSet_macroman + const CharacterSet_sjis + const CharacterSet_swe7 + const CharacterSet_tis620 + const CharacterSet_ucs2 + const CharacterSet_ujis + const CharacterSet_utf16 + const CharacterSet_utf16le + const CharacterSet_utf32 + const CharacterSet_utf8 + const CharacterSet_utf8mb3 + const CharacterSet_utf8mb4 + func ParseCharacterSet(str string) (CharacterSet, error) + func (cs CharacterSet) BinaryCollation() Collation + func (cs CharacterSet) DefaultCollation() Collation + func (cs CharacterSet) Description() string + func (cs CharacterSet) MaxLength() int64 + func (cs CharacterSet) String() string + type CheckAlterableTable interface + CreateCheck func(ctx *Context, check *CheckDefinition) error + DropCheck func(ctx *Context, chName string) error + type CheckConstraint struct + Enforced bool + Expr Expression + Name string + func (c CheckConstraint) DebugString() string + type CheckConstraints []*CheckConstraint + func (checks CheckConstraints) FromExpressions(exprs []Expression) (CheckConstraints, error) + func (checks CheckConstraints) ToExpressions() []Expression + type CheckDefinition struct + CheckExpression string + Enforced bool + Name string + type CheckTable interface + GetChecks func(ctx *Context) ([]CheckDefinition, error) + type Checksumable interface + Checksum func() (string, error) + type Client struct + Address string + Capabilities uint32 + User string + type Closer interface + Close func(*Context) error + type Collation struct + CharSet CharacterSet + Compare func(as, bs string) int + LikeMatcher func(likeStr string) (regex.DisposableMatcher, error) + Name string + func ParseCollation(characterSetStr *string, collationStr *string, binaryAttribute bool) (Collation, error) + func (c Collation) CharacterSet() CharacterSet + func (c Collation) Equals(other Collation) bool + func (c Collation) ID() int64 + func (c Collation) IsCompiled() string + func (c Collation) IsDefault() string + func (c Collation) PadSpace() string + func (c Collation) SortLen() int64 + func (c Collation) String() string + func (c Collation) WorksWithCharacterSet(cs CharacterSet) bool + type Column struct + AutoIncrement bool + Comment string + Default *ColumnDefaultValue + Extra string + Name string + Nullable bool + PrimaryKey bool + Source string + Type Type + func (c *Column) Check(v interface{}) bool + func (c *Column) DebugString() string + func (c *Column) Equals(c2 *Column) bool + type ColumnDefaultValue struct + func NewColumnDefaultValue(expr Expression, outType Type, representsLiteral bool, mayReturnNil bool) (*ColumnDefaultValue, error) + func (e *ColumnDefaultValue) CheckType(ctx *Context) error + func (e *ColumnDefaultValue) Children() []Expression + func (e *ColumnDefaultValue) Eval(ctx *Context, r Row) (interface{}, error) + func (e *ColumnDefaultValue) IsLiteral() bool + func (e *ColumnDefaultValue) IsNullable() bool + func (e *ColumnDefaultValue) Resolved() bool + func (e *ColumnDefaultValue) String() string + func (e *ColumnDefaultValue) Type() Type + func (e *ColumnDefaultValue) WithChildren(children ...Expression) (Expression, error) + type ColumnExpressionType struct + Expression string + Type Type + type ColumnOrder struct + AfterColumn string + First bool + type CommentedNode interface + Comment func() string + WithComment func(string) Node + type Context struct + Memory *MemoryManager + ProcessList ProcessList + func NewContext(ctx context.Context, opts ...ContextOption) *Context + func NewEmptyContext() *Context + func (c *Context) ApplyOpts(opts ...ContextOption) + func (c *Context) Error(code int, msg string, args ...interface{}) + func (c *Context) KillConnection(connID uint32) error + func (c *Context) LoadInfile(filename string) (io.ReadCloser, error) + func (c *Context) NewErrgroup() (*errgroup.Group, *Context) + func (c *Context) NewSubContext() (*Context, context.CancelFunc) + func (c *Context) Pid() uint64 + func (c *Context) Query() string + func (c *Context) QueryTime() time.Time + func (c *Context) RootSpan() opentracing.Span + func (c *Context) Span(opName string, opts ...opentracing.StartSpanOption) (opentracing.Span, *Context) + func (c *Context) Warn(code int, msg string, args ...interface{}) + func (c *Context) WithContext(ctx context.Context) *Context + func (c *Context) WithCurrentDB(db string) *Context + func (c Context) WithQuery(q string) *Context + type ContextOption func(*Context) + func WithMemoryManager(m *MemoryManager) ContextOption + func WithPid(pid uint64) ContextOption + func WithProcessList(p ProcessList) ContextOption + func WithQuery(q string) ContextOption + func WithRootSpan(s opentracing.Span) ContextOption + func WithServices(services Services) ContextOption + func WithSession(s Session) ContextOption + func WithTracer(t opentracing.Tracer) ContextOption + type CreateFunc0Args func() Expression + type CreateFunc1Args func(e1 Expression) Expression + type CreateFunc2Args func(e1, e2 Expression) Expression + type CreateFunc3Args func(e1, e2, e3 Expression) Expression + type CreateFunc4Args func(e1, e2, e3, e4 Expression) Expression + type CreateFunc5Args func(e1, e2, e3, e4, e5 Expression) Expression + type CreateFunc6Args func(e1, e2, e3, e4, e5, e6 Expression) Expression + type CreateFunc7Args func(e1, e2, e3, e4, e5, e6, e7 Expression) Expression + type CreateFuncNArgs func(args ...Expression) (Expression, error) + type Database interface + GetTableInsensitive func(ctx *Context, tblName string) (Table, bool, error) + GetTableNames func(ctx *Context) ([]string, error) + type DatabaseProvider interface + AllDatabases func() []Database + Database func(name string) (Database, error) + HasDatabase func(name string) bool + func NewDatabaseProvider(dbs ...Database) DatabaseProvider + type Databaser interface + Database func() Database + WithDatabase func(Database) (Node, error) + type DatetimeType interface + ConvertWithoutRangeCheck func(v interface{}) (time.Time, error) + MaximumTime func() time.Time + MinimumTime func() time.Time + func CreateDatetimeType(baseType query.Type) (DatetimeType, error) + func MustCreateDatetimeType(baseType query.Type) DatetimeType + type DebugStringer interface + DebugString func() string + type DecimalType interface + ConvertToDecimal func(v interface{}) (decimal.NullDecimal, error) + ExclusiveUpperBound func() decimal.Decimal + MaximumScale func() uint8 + Precision func() uint8 + Scale func() uint8 + var InternalDecimalType DecimalType = decimalType{} + func CreateDecimalType(precision uint8, scale uint8) (DecimalType, error) + func MustCreateDecimalType(precision uint8, scale uint8) DecimalType + type DeletableTable interface + Deleter func(*Context) RowDeleter + type Disposable interface + Dispose func() + type DisposeFunc func() + type DriverIndex interface + Driver func() string + type DriverIndexLookup interface + Indexes func() []string + Values func(Partition) (IndexValueIter, error) + type DriverIndexableTable interface + IndexKeyValues func(*Context, []string) (PartitionIndexKeyValueIter, error) + type EmptyProcessList struct + func (e EmptyProcessList) AddPartitionProgress(pid uint64, tableName, partitionName string, total int64) + func (e EmptyProcessList) AddProcess(ctx *Context, query string) (*Context, error) + func (e EmptyProcessList) AddTableProgress(pid uint64, name string, total int64) + func (e EmptyProcessList) Done(pid uint64) + func (e EmptyProcessList) Kill(connID uint32) + func (e EmptyProcessList) Processes() []Process + func (e EmptyProcessList) RemovePartitionProgress(pid uint64, tableName, partitionName string) + func (e EmptyProcessList) RemoveTableProgress(pid uint64, name string) + func (e EmptyProcessList) UpdatePartitionProgress(pid uint64, tableName, partitionName string, delta int64) + func (e EmptyProcessList) UpdateTableProgress(pid uint64, name string, delta int64) + type Engine struct + Name string + func (e Engine) Comment() string + func (e Engine) Savepoints() string + func (e Engine) String() string + func (e Engine) Support() string + func (e Engine) Transactions() string + func (e Engine) XA() string + type EnumType interface + At func(index int) (string, bool) + CharacterSet func() CharacterSet + Collation func() Collation + ConvertToIndex func(v interface{}) (int, error) + IndexOf func(v string) int + Marshal func(v interface{}) (int64, error) + NumberOfElements func() uint16 + Unmarshal func(v int64) (string, error) + Values func() []string + func CreateEnumType(values []string, collation Collation) (EnumType, error) + func MustCreateEnumType(values []string, collation Collation) EnumType + type ErrInsertIgnore struct + OffendingRow Row + func NewErrInsertIgnore(row Row) ErrInsertIgnore + func (e ErrInsertIgnore) Error() string + type Expression interface + Children func() []Expression + Eval func(ctx *Context, row Row) (interface{}, error) + IsNullable func() bool + Type func() Type + WithChildren func(children ...Expression) (Expression, error) + func NillaryWithChildren(expr Expression, children ...Expression) (Expression, error) + type Expression2 interface + Eval2 func(ctx *Context, f *RowFrame) (Value, error) + type Expressioner interface + Expressions func() []Expression + WithExpressions func(...Expression) (Node, error) + type FilteredTable interface + HandledFilters func(filters []Expression) []Expression + WithFilters func(ctx *Context, filters []Expression) Table + type ForeignKeyAlterableTable interface + CreateForeignKey func(ctx *Context, fkName string, columns []string, referencedTable string, ...) error + DropForeignKey func(ctx *Context, fkName string) error + type ForeignKeyConstraint struct + Columns []string + Name string + OnDelete ForeignKeyReferenceOption + OnUpdate ForeignKeyReferenceOption + ReferencedColumns []string + ReferencedTable string + func (f *ForeignKeyConstraint) DebugString() string + type ForeignKeyReferenceOption string + const ForeignKeyReferenceOption_Cascade + const ForeignKeyReferenceOption_DefaultAction + const ForeignKeyReferenceOption_NoAction + const ForeignKeyReferenceOption_Restrict + const ForeignKeyReferenceOption_SetDefault + const ForeignKeyReferenceOption_SetNull + type ForeignKeyTable interface + GetForeignKeys func(ctx *Context) ([]ForeignKeyConstraint, error) + type Freeable interface + Free func() + type Function interface + FunctionName func() string + NewInstance func([]Expression) (Expression, error) + type Function0 struct + Fn CreateFunc0Args + Name string + func NewFunction0(name string, fn func() Expression) Function0 + func (fn Function0) FunctionName() string + func (fn Function0) NewInstance(args []Expression) (Expression, error) + type Function1 struct + Fn CreateFunc1Args + Name string + func (fn Function1) FunctionName() string + func (fn Function1) NewInstance(args []Expression) (Expression, error) + type Function2 struct + Fn CreateFunc2Args + Name string + func (fn Function2) FunctionName() string + func (fn Function2) NewInstance(args []Expression) (Expression, error) + type Function3 struct + Fn CreateFunc3Args + Name string + func (fn Function3) FunctionName() string + func (fn Function3) NewInstance(args []Expression) (Expression, error) + type Function4 struct + Fn CreateFunc4Args + Name string + func (fn Function4) FunctionName() string + func (fn Function4) NewInstance(args []Expression) (Expression, error) + type Function5 struct + Fn CreateFunc5Args + Name string + func (fn Function5) FunctionName() string + func (fn Function5) NewInstance(args []Expression) (Expression, error) + type Function6 struct + Fn CreateFunc6Args + Name string + func (fn Function6) FunctionName() string + func (fn Function6) NewInstance(args []Expression) (Expression, error) + type Function7 struct + Fn CreateFunc7Args + Name string + func (fn Function7) FunctionName() string + func (fn Function7) NewInstance(args []Expression) (Expression, error) + type FunctionExpression interface + Description func() string + FunctionName func() string + type FunctionN struct + Fn CreateFuncNArgs + Name string + func (fn FunctionN) FunctionName() string + func (fn FunctionN) NewInstance(args []Expression) (Expression, error) + type FunctionProvider interface + Function func(name string) (Function, error) + type Generator interface + Close func() error + Next func() (interface{}, error) + func NewArrayGenerator(array []interface{}) Generator + func ToGenerator(v interface{}) (Generator, error) + type Index interface + ColumnExpressionTypes func(ctx *Context) []ColumnExpressionType + Comment func() string + Database func() string + Expressions func() []string + ID func() string + IndexType func() string + IsGenerated func() bool + IsUnique func() bool + NewLookup func(ctx *Context, ranges ...Range) (IndexLookup, error) + Table func() string + type IndexAddressableTable interface + WithIndexLookup func(IndexLookup) Table + type IndexAlterableTable interface + CreateIndex func(ctx *Context, indexName string, using IndexUsing, constraint IndexConstraint, ...) error + DropIndex func(ctx *Context, indexName string) error + RenameIndex func(ctx *Context, fromIndexName string, toIndexName string) error + type IndexBuilder struct + func NewIndexBuilder(ctx *Context, idx Index) *IndexBuilder + func (b *IndexBuilder) Build(ctx *Context) (IndexLookup, error) + func (b *IndexBuilder) Equals(ctx *Context, colExpr string, keys ...interface{}) *IndexBuilder + func (b *IndexBuilder) GreaterOrEqual(ctx *Context, colExpr string, key interface{}) *IndexBuilder + func (b *IndexBuilder) GreaterThan(ctx *Context, colExpr string, key interface{}) *IndexBuilder + func (b *IndexBuilder) LessOrEqual(ctx *Context, colExpr string, key interface{}) *IndexBuilder + func (b *IndexBuilder) LessThan(ctx *Context, colExpr string, key interface{}) *IndexBuilder + func (b *IndexBuilder) NotEquals(ctx *Context, colExpr string, key interface{}) *IndexBuilder + func (b *IndexBuilder) Ranges(ctx *Context) RangeCollection + type IndexColumn struct + Length int64 + Name string + type IndexConstraint byte + const IndexConstraint_Fulltext + const IndexConstraint_None + const IndexConstraint_Primary + const IndexConstraint_Spatial + const IndexConstraint_Unique + type IndexDriver interface + Create func(db, table, id string, expressions []Expression, config map[string]string) (DriverIndex, error) + Delete func(DriverIndex, PartitionIter) error + ID func() string + LoadAll func(ctx *Context, db, table string) ([]DriverIndex, error) + Save func(*Context, DriverIndex, PartitionIndexKeyValueIter) error + type IndexKeyValueIter interface + Next func(*Context) ([]interface{}, []byte, error) + type IndexLookup interface + Index func() Index + Ranges func() RangeCollection + type IndexRegistry struct + Root string + func NewIndexRegistry() *IndexRegistry + func (r *IndexRegistry) AddIndex(idx DriverIndex) (created chan<- struct{}, ready <-chan struct{}, err error) + func (r *IndexRegistry) CanRemoveIndex(idx Index) bool + func (r *IndexRegistry) CanUseIndex(idx Index) bool + func (r *IndexRegistry) DefaultIndexDriver() IndexDriver + func (r *IndexRegistry) DeleteIndex(db, id string, force bool) (<-chan struct{}, error) + func (r *IndexRegistry) ExpressionsWithIndexes(db string, exprs ...Expression) [][]Expression + func (r *IndexRegistry) HasIndexes() bool + func (r *IndexRegistry) Index(db, id string) DriverIndex + func (r *IndexRegistry) IndexDriver(id string) IndexDriver + func (r *IndexRegistry) IndexesByTable(db, table string) []DriverIndex + func (r *IndexRegistry) LoadIndexes(ctx *Context, dbs []Database) error + func (r *IndexRegistry) MarkOutdated(idx Index) + func (r *IndexRegistry) MatchingIndex(ctx *Context, db string, expr ...Expression) (index Index, prefixCount int, err error) + func (r *IndexRegistry) RegisterIndexDriver(driver IndexDriver) + func (r *IndexRegistry) ReleaseIndex(idx Index) + type IndexStatus byte + const IndexNotReady + const IndexOutdated + const IndexReady + func (s IndexStatus) IsUsable() bool + func (s IndexStatus) String() string + type IndexUsing byte + const IndexUsing_BTree + const IndexUsing_Default + const IndexUsing_Hash + type IndexValueIter interface + Next func(*Context) ([]byte, error) + type IndexedTable interface + GetIndexes func(ctx *Context) ([]Index, error) + type InsertableTable interface + Inserter func(*Context) RowInserter + type JSONDocument struct + Val interface{} + func MustJSON(s string) JSONDocument + func (doc JSONDocument) Compare(ctx *Context, v JSONValue) (int, error) + func (doc JSONDocument) Contains(ctx *Context, candidate JSONValue) (val interface{}, err error) + func (doc JSONDocument) Extract(ctx *Context, path string) (JSONValue, error) + func (doc JSONDocument) Keys(ctx *Context, path string) (val JSONValue, err error) + func (doc JSONDocument) Overlaps(ctx *Context, val SearchableJSONValue) (ok bool, err error) + func (doc JSONDocument) Search(ctx *Context) (path string, err error) + func (doc JSONDocument) ToString(_ *Context) (string, error) + func (doc JSONDocument) Unmarshall(_ *Context) (JSONDocument, error) + type JSONValue interface + Compare func(ctx *Context, v JSONValue) (cmp int, err error) + ToString func(ctx *Context) (string, error) + Unmarshall func(ctx *Context) (val JSONDocument, err error) + func ConcatenateJSONValues(ctx *Context, vals ...JSONValue) (JSONValue, error) + type JsonType interface + var JSON JsonType = jsonType{} + type KeyValueCache interface + Get func(uint64) (interface{}, error) + Put func(uint64, interface{}) error + Size func() int + type LikeMatcher interface + CreateMatcher func(likeStr string) (regex.DisposableMatcher, error) + type LockState int + const LockDoesNotExist + const LockFree + const LockInUse + type LockSubsystem struct + func NewLockSubsystem() *LockSubsystem + func (ls *LockSubsystem) GetLockState(name string) (state LockState, owner uint32) + func (ls *LockSubsystem) Lock(ctx *Context, name string, timeout time.Duration) error + func (ls *LockSubsystem) ReleaseAll(ctx *Context) (int, error) + func (ls *LockSubsystem) Unlock(ctx *Context, name string) error + type Lockable interface + Lock func(ctx *Context, write bool) error + Unlock func(ctx *Context, id uint32) error + type MemoryManager struct + func NewMemoryManager(r Reporter) *MemoryManager + func (m *MemoryManager) Free() + func (m *MemoryManager) HasAvailable() bool + func (m *MemoryManager) NewHistoryCache() (KeyValueCache, DisposeFunc) + func (m *MemoryManager) NewLRUCache(size uint) (KeyValueCache, DisposeFunc) + func (m *MemoryManager) NewRowsCache() (RowsCache, DisposeFunc) + func (m *MemoryManager) NumCaches() int + type MutableDatabaseProvider interface + CreateDatabase func(ctx *Context, name string) error + DropDatabase func(ctx *Context, name string) error + type Nameable interface + Name func() string + type Node interface + Children func() []Node + RowIter func(ctx *Context, row Row) (RowIter, error) + Schema func() Schema + WithChildren func(...Node) (Node, error) + type Node2 interface + RowIter2 func(ctx *Context, f *RowFrame) (RowIter2, error) + type NodeVisitor interface + Visit func(node Node, expression Expression) NodeVisitor + type NonDeterministicExpression interface + IsNonDeterministic func() bool + type NullOrdering byte + const NullsFirst + const NullsLast + type NullType interface + var ErrValueNotNil = errors.NewKind("value not nil: %#v") + var Null NullType = nullType{} + type NumberType interface + IsFloat func() bool + IsSigned func() bool + func CreateNumberType(baseType query.Type) (NumberType, error) + func MustCreateNumberType(baseType query.Type) NumberType + type OkResult struct + Info fmt.Stringer + InsertID uint64 + RowsAffected uint64 + func GetOkResult(row Row) OkResult + func NewOkResult(rowsAffected int) OkResult + type OpaqueNode interface + Opaque func() bool + type Partition interface + Key func() []byte + type PartitionCounter interface + PartitionCount func(*Context) (int64, error) + type PartitionIndexKeyValueIter interface + Next func(*Context) (Partition, IndexKeyValueIter, error) + type PartitionIter interface + Next func(*Context) (Partition, error) + type PartitionProgress struct + func (p PartitionProgress) String() string + type PersistableSession interface + GetPersistedValue func(k string) (interface{}, error) + PersistGlobal func(sysVarName string, value interface{}) error + RemoveAllPersistedGlobals func() error + RemovePersistedGlobal func(sysVarName string) error + type PrimaryKeyAlterableTable interface + CreatePrimaryKey func(ctx *Context, columns []IndexColumn) error + DropPrimaryKey func(ctx *Context) error + type PrimaryKeySchema struct + PkOrdinals []int + func NewPrimaryKeySchema(s Schema, pkOrds ...int) PrimaryKeySchema + type PrimaryKeyTable interface + PrimaryKeySchema func() PrimaryKeySchema + type Process struct + Connection uint32 + Kill context.CancelFunc + Pid uint64 + Progress map[string]TableProgress + Query string + StartedAt time.Time + User string + func (p *Process) Done() + func (p *Process) Seconds() uint64 + type ProcessList interface + AddPartitionProgress func(pid uint64, tableName, partitionName string, total int64) + AddProcess func(ctx *Context, query string) (*Context, error) + AddTableProgress func(pid uint64, name string, total int64) + Done func(pid uint64) + Kill func(connID uint32) + Processes func() []Process + RemovePartitionProgress func(pid uint64, tableName, partitionName string) + RemoveTableProgress func(pid uint64, name string) + UpdatePartitionProgress func(pid uint64, tableName, partitionName string, delta int64) + UpdateTableProgress func(pid uint64, name string, delta int64) + type Progress struct + Done int64 + Name string + Total int64 + type ProjectedTable interface + WithProjection func(colNames []string) Table + type Range []RangeColumnExpr + func IntersectRanges(ranges ...Range) Range + func SortRanges(ranges ...Range) ([]Range, error) + func (rang Range) AsEmpty() Range + func (rang Range) Compare(otherRange Range) (int, error) + func (rang Range) Copy() Range + func (rang Range) DebugString() string + func (rang Range) Equals(otherRange Range) (bool, error) + func (rang Range) ExpressionByColumnName(idx Index, colExpr string) (RangeColumnExpr, bool) + func (rang Range) Intersect(otherRange Range) (Range, error) + func (rang Range) IsConnected(otherRange Range) (bool, error) + func (rang Range) IsSubsetOf(otherRange Range) (bool, error) + func (rang Range) IsSupersetOf(otherRange Range) (bool, error) + func (rang Range) Overlaps(otherRange Range) (bool, error) + func (rang Range) RemoveOverlap(otherRange Range) (RangeCollection, bool, error) + func (rang Range) String() string + func (rang Range) TryMerge(otherRange Range) (Range, bool, error) + type RangeBoundType int + const Closed + const Open + func (bt RangeBoundType) Inclusive() bool + type RangeCollection []Range + func RemoveOverlappingRanges(ranges ...Range) (RangeCollection, error) + func (ranges RangeCollection) DebugString() string + func (ranges RangeCollection) Equals(otherCollection RangeCollection) (bool, error) + func (ranges RangeCollection) Intersect(otherRanges RangeCollection) (RangeCollection, error) + func (ranges RangeCollection) String() string + type RangeColumnExpr struct + LowerBound RangeCut + UpperBound RangeCut + func AllRangeColumnExpr(typ Type) RangeColumnExpr + func ClosedRangeColumnExpr(lower, upper interface{}, typ Type) RangeColumnExpr + func CustomRangeColumnExpr(lower, upper interface{}, lowerBound, upperBound RangeBoundType, typ Type) RangeColumnExpr + func EmptyRangeColumnExpr(typ Type) RangeColumnExpr + func GreaterOrEqualRangeColumnExpr(lower interface{}, typ Type) RangeColumnExpr + func GreaterThanRangeColumnExpr(lower interface{}, typ Type) RangeColumnExpr + func LessOrEqualRangeColumnExpr(upper interface{}, typ Type) RangeColumnExpr + func LessThanRangeColumnExpr(upper interface{}, typ Type) RangeColumnExpr + func OpenRangeColumnExpr(lower, upper interface{}, typ Type) RangeColumnExpr + func SimplifyRangeColumn(rces ...RangeColumnExpr) ([]RangeColumnExpr, error) + func (r RangeColumnExpr) DebugString() string + func (r RangeColumnExpr) Equals(other RangeColumnExpr) (bool, error) + func (r RangeColumnExpr) HasLowerBound() bool + func (r RangeColumnExpr) HasUpperBound() bool + func (r RangeColumnExpr) IsConnected(other RangeColumnExpr) (bool, error) + func (r RangeColumnExpr) IsEmpty() (bool, error) + func (r RangeColumnExpr) IsSubsetOf(other RangeColumnExpr) (bool, error) + func (r RangeColumnExpr) IsSupersetOf(other RangeColumnExpr) (bool, error) + func (r RangeColumnExpr) Overlaps(other RangeColumnExpr) (RangeColumnExpr, bool, error) + func (r RangeColumnExpr) RepresentsEquals() (bool, error) + func (r RangeColumnExpr) String() string + func (r RangeColumnExpr) Subtract(other RangeColumnExpr) ([]RangeColumnExpr, error) + func (r RangeColumnExpr) TryIntersect(other RangeColumnExpr) (RangeColumnExpr, bool, error) + func (r RangeColumnExpr) TryUnion(other RangeColumnExpr) (RangeColumnExpr, bool, error) + func (r RangeColumnExpr) Type() RangeType + type RangeColumnExprTree struct + func NewRangeColumnExprTree(initialRange Range) *RangeColumnExprTree + func (tree *RangeColumnExprTree) FindConnections(rang Range, colExprIdx int) (RangeCollection, error) + func (tree *RangeColumnExprTree) GetRangeCollection() (RangeCollection, error) + func (tree *RangeColumnExprTree) Insert(rang Range) error + func (tree *RangeColumnExprTree) Iterator() *rangeTreeIter + func (tree *RangeColumnExprTree) Remove(rang Range) error + func (tree *RangeColumnExprTree) String() string + type RangeCut interface + Compare func(RangeCut, Type) (int, error) + String func() string + TypeAsLowerBound func() RangeBoundType + TypeAsUpperBound func() RangeBoundType + func GetRangeCutMax(typ Type, cuts ...RangeCut) (RangeCut, error) + func GetRangeCutMin(typ Type, cuts ...RangeCut) (RangeCut, error) + type RangeType int + type ReadOnlyDatabase interface + IsReadOnly func() bool + type ReplaceableTable interface + Replacer func(ctx *Context) RowReplacer + type Reporter interface + MaxMemory func() uint64 + UsedMemory func() uint64 + var ProcessMemory Reporter = new(processReporter) + type Resolvable interface + Resolved func() bool + type Row []interface + func (r Row) Append(r2 Row) Row + func (r Row) Copy() Row + func (r Row) Equals(row Row, schema Schema) (bool, error) + func NewRow(values ...interface{}) Row + func NodeToRows(ctx *Context, n Node) ([]Row, error) + func RowIterToRows(ctx *Context, i RowIter) ([]Row, error) + type Row2 []Value + type RowDeleter interface + Delete func(*Context, Row) error + type RowFrame struct + Values []Value + func NewRowFrame(vals ...Value) (f *RowFrame) + func (f *RowFrame) Append(vals ...Value) + func (f *RowFrame) Row2() Row2 + type RowInserter interface + Insert func(*Context, Row) error + type RowIter interface + Next func(*Context) (Row, error) + func NewSpanIter(span opentracing.Span, iter RowIter) RowIter + func RowsToRowIter(rows ...Row) RowIter + type RowIter2 interface + Next2 func(*Context, *RowFrame) error + type RowReplacer interface + Delete func(*Context, Row) error + Insert func(*Context, Row) error + type RowUpdater interface + Update func(ctx *Context, old Row, new Row) error + type RowsCache interface + Add func(Row) error + Get func() []Row + type Schema []*Column + func (s Schema) CheckRow(row Row) error + func (s Schema) Contains(column string, source string) bool + func (s Schema) Equals(s2 Schema) bool + func (s Schema) HasAutoIncrement() bool + func (s Schema) IndexOf(column, source string) int + type SearchableJSONValue interface + Contains func(ctx *Context, candidate JSONValue) (val interface{}, err error) + Extract func(ctx *Context, path string) (val JSONValue, err error) + Keys func(ctx *Context, path string) (val JSONValue, err error) + Overlaps func(ctx *Context, val SearchableJSONValue) (ok bool, err error) + Search func(ctx *Context) (path string, err error) + type Services struct + KillConnection func(connID uint32) error + LoadInfile func(filename string) (io.ReadCloser, error) + type Session interface + AddLock func(lockName string) error + Address func() string + ClearWarnings func() + Client func() Client + CommitTransaction func(ctx *Context, dbName string, transaction Transaction) error + DelLock func(lockName string) error + GetAllSessionVariables func() map[string]interface{} + GetCurrentDatabase func() string + GetIgnoreAutoCommit func() bool + GetIndexRegistry func() *IndexRegistry + GetLastQueryInfo func(key string) int64 + GetLogger func() *logrus.Entry + GetSessionVariable func(ctx *Context, sysVarName string) (interface{}, error) + GetTransaction func() Transaction + GetUserVariable func(ctx *Context, varName string) (Type, interface{}, error) + GetViewRegistry func() *ViewRegistry + ID func() uint32 + IterLocks func(cb func(name string) error) error + SetCurrentDatabase func(dbName string) + SetIgnoreAutoCommit func(ignore bool) + SetIndexRegistry func(*IndexRegistry) + SetLastQueryInfo func(key string, value int64) + SetLogger func(*logrus.Entry) + SetSessionVariable func(ctx *Context, sysVarName string, value interface{}) error + SetTransaction func(tx Transaction) + SetUserVariable func(ctx *Context, varName string, value interface{}) error + SetViewRegistry func(*ViewRegistry) + Warn func(warn *Warning) + WarningCount func() uint16 + Warnings func() []*Warning + type SetType interface + CharacterSet func() CharacterSet + Collation func() Collation + Marshal func(v interface{}) (uint64, error) + NumberOfElements func() uint16 + Unmarshal func(bits uint64) (string, error) + Values func() []string + func CreateSetType(values []string, collation Collation) (SetType, error) + func MustCreateSetType(values []string, collation Collation) SetType + type SortField struct + Column Expression + NullOrdering NullOrdering + Order SortOrder + func (s SortField) DebugString() string + func (s SortField) String() string + type SortFields []SortField + func (sf SortFields) FromExpressions(exprs []Expression) SortFields + func (sf SortFields) ToExpressions() []Expression + type SortOrder byte + const Ascending + const Descending + func (s SortOrder) String() string + type StatisticsTable interface + DataLength func(ctx *Context) (uint64, error) + NumRows func(*Context) (uint64, error) + type StoredProcedureDatabase interface + DropStoredProcedure func(ctx *Context, name string) error + GetStoredProcedures func(ctx *Context) ([]StoredProcedureDetails, error) + SaveStoredProcedure func(ctx *Context, spd StoredProcedureDetails) error + type StoredProcedureDetails struct + CreateStatement string + CreatedAt time.Time + ModifiedAt time.Time + Name string + type StringType interface + CharacterSet func() CharacterSet + Collation func() Collation + MaxByteLength func() int64 + MaxCharacterLength func() int64 + func CreateBinary(baseType query.Type, lengthHint int64) (StringType, error) + func CreateLongText(collation Collation) StringType + func CreateMediumText(collation Collation) StringType + func CreateString(baseType query.Type, length int64, collation Collation) (StringType, error) + func CreateStringWithDefaults(baseType query.Type, length int64) (StringType, error) + func CreateText(collation Collation) StringType + func CreateTinyText(collation Collation) StringType + func MustCreateBinary(baseType query.Type, lengthHint int64) StringType + func MustCreateString(baseType query.Type, length int64, collation Collation) StringType + func MustCreateStringWithDefaults(baseType query.Type, length int64) StringType + type SystemVariable struct + Default interface{} + Dynamic bool + Name string + Scope SystemVariableScope + SetVarHintApplies bool + Type Type + type SystemVariableScope byte + const SystemVariableScope_Both + const SystemVariableScope_Global + const SystemVariableScope_Persist + const SystemVariableScope_PersistOnly + const SystemVariableScope_ResetPersist + const SystemVariableScope_Session + func (s SystemVariableScope) String() string + type SystemVariableType interface + DecodeValue func(string) (interface{}, error) + EncodeValue func(interface{}) (string, error) + func NewSystemBoolType(varName string) SystemVariableType + func NewSystemDoubleType(varName string, lowerbound, upperbound float64) SystemVariableType + func NewSystemEnumType(varName string, values ...string) SystemVariableType + func NewSystemIntType(varName string, lowerbound, upperbound int64, negativeOne bool) SystemVariableType + func NewSystemSetType(varName string, values ...string) SystemVariableType + func NewSystemStringType(varName string) SystemVariableType + func NewSystemUintType(varName string, lowerbound, upperbound uint64) SystemVariableType + type Table interface + PartitionRows func(*Context, Partition) (RowIter, error) + Partitions func(*Context) (PartitionIter, error) + Schema func() Schema + String func() string + func GetTableInsensitive(tblName string, tables map[string]Table) (Table, bool) + type Table2 interface + PartitionRows2 func(*Context, Partition) (RowIter2, error) + type TableCopierDatabase interface + CopyTableData func(ctx *Context, sourceTable string, destinationTable string) (uint64, error) + type TableCreator interface + CreateTable func(ctx *Context, name string, schema PrimaryKeySchema) error + type TableDropper interface + DropTable func(ctx *Context, name string) error + type TableEditor interface + DiscardChanges func(ctx *Context, errorEncountered error) error + StatementBegin func(ctx *Context) + StatementComplete func(ctx *Context) error + type TableProgress struct + PartitionsProgress map[string]PartitionProgress + func NewTableProgress(name string, total int64) TableProgress + func (p TableProgress) String() string + type TableRenamer interface + RenameTable func(ctx *Context, oldName, newName string) error + type TableRowIter struct + func NewTableRowIter(ctx *Context, table Table, partitions PartitionIter) *TableRowIter + func (i *TableRowIter) Close(ctx *Context) error + func (i *TableRowIter) Next(ctx *Context) (Row, error) + type TableWrapper interface + Underlying func() Table + type Tableable interface + Table func() string + type TemporaryTable interface + IsTemporary func() bool + type TemporaryTableCreator interface + CreateTemporaryTable func(ctx *Context, name string, schema PrimaryKeySchema) error + type TemporaryTableDatabase interface + GetAllTemporaryTables func(ctx *Context) ([]Table, error) + type TimeType interface + ConvertToTimeDuration func(v interface{}) (time.Duration, error) + Marshal func(v interface{}) (int64, error) + Unmarshal func(v int64) string + var ErrConvertingToTimeType = errors.NewKind("value %v is not a valid Time") + var Time TimeType = timespanType{} + type Transaction interface + IsReadOnly func() bool + type TransactionCharacteristic int + const ReadOnly + const ReadWrite + type TransactionDatabase interface + CommitTransaction func(ctx *Context, tx Transaction) error + CreateSavepoint func(ctx *Context, transaction Transaction, name string) error + ReleaseSavepoint func(ctx *Context, transaction Transaction, name string) error + Rollback func(ctx *Context, transaction Transaction) error + RollbackToSavepoint func(ctx *Context, transaction Transaction, name string) error + StartTransaction func(ctx *Context, tCharacteristic TransactionCharacteristic) (Transaction, error) + type TransformExprFunc func(Expression) (Expression, error) + type TransformNodeFunc func(Node) (Node, error) + type TreePrinter struct + func NewTreePrinter() *TreePrinter + func (p *TreePrinter) String() string + func (p *TreePrinter) WriteChildren(children ...string) error + func (p *TreePrinter) WriteNode(format string, args ...interface{}) error + type TriggerDatabase interface + CreateTrigger func(ctx *Context, definition TriggerDefinition) error + DropTrigger func(ctx *Context, name string) error + GetTriggers func(ctx *Context) ([]TriggerDefinition, error) + type TriggerDefinition struct + CreateStatement string + Name string + type TruncateableTable interface + Truncate func(*Context) (int, error) + type TupleType []Type + func (t TupleType) Compare(a, b interface{}) (int, error) + func (t TupleType) Convert(v interface{}) (interface{}, error) + func (t TupleType) MustConvert(v interface{}) interface{} + func (t TupleType) Promote() Type + func (t TupleType) SQL(interface{}) (sqltypes.Value, error) + func (t TupleType) String() string + func (t TupleType) Type() query.Type + func (t TupleType) Zero() interface{} + type Type interface + Compare func(interface{}, interface{}) (int, error) + Convert func(interface{}) (interface{}, error) + Promote func() Type + SQL func(interface{}) (sqltypes.Value, error) + Type func() query.Type + Zero func() interface{} + func ApproximateTypeFromValue(val interface{}) Type + func ColumnTypeToType(ct *sqlparser.ColumnType) (Type, error) + func CreateArray(underlying Type) Type + func CreateTuple(types ...Type) Type + func UnderlyingType(t Type) Type + type Type2 interface + Compare2 func(Value, Value) (int, error) + Convert2 func(Value) (Value, error) + Zero2 func() Value + type TypedValue struct + Typ Type + Value interface{} + type UniqueKeyError struct + Existing Row + IsPK bool + func (ue UniqueKeyError) Error() string + type UnresolvedDatabase string + func (UnresolvedDatabase) GetTableInsensitive(ctx *Context, tblName string) (Table, bool, error) + func (UnresolvedDatabase) GetTableNames(ctx *Context) ([]string, error) + func (UnresolvedDatabase) Tables() map[string]Table + func (d UnresolvedDatabase) Name() string + type UnsupportedFunctionStub interface + IsUnsupported func() bool + type UpdatableTable interface + Updater func(ctx *Context) RowUpdater + type Value struct + Typ querypb.Type + Val []byte + type VersionedDatabase interface + GetTableInsensitiveAsOf func(ctx *Context, tblName string, asOf interface{}) (Table, bool, error) + GetTableNamesAsOf func(ctx *Context, asOf interface{}) ([]string, error) + type View struct + func NewView(name string, definition Node, textDefinition string) *View + func (v *View) Definition() Node + func (v *View) Name() string + func (v *View) TextDefinition() string + type ViewDatabase interface + AllViews func(ctx *Context) ([]ViewDefinition, error) + CreateView func(ctx *Context, name string, selectStatement string) error + DropView func(ctx *Context, name string) error + GetView func(ctx *Context, viewName string) (string, bool, error) + type ViewDefinition struct + Name string + TextDefinition string + type ViewKey struct + func NewViewKey(databaseName, viewName string) ViewKey + type ViewRegistry struct + func NewViewRegistry() *ViewRegistry + func (r *ViewRegistry) Delete(databaseName, viewName string) error + func (r *ViewRegistry) Exists(databaseName, viewName string) bool + func (r *ViewRegistry) Register(database string, view *View) error + func (r *ViewRegistry) View(databaseName, viewName string) (*View, error) + func (r *ViewRegistry) ViewsInDatabase(databaseName string) (views []*View) + type Visitor interface + Visit func(expr Expression) Visitor + type Warning struct + Code int + Level string + Message string + type Window struct + OrderBy SortFields + PartitionBy []Expression + func NewWindow(partitionBy []Expression, orderBy []SortField) *Window + func (w *Window) DebugString() string + func (w *Window) FromExpressions(children []Expression) (*Window, error) + func (w *Window) String() string + func (w *Window) ToExpressions() []Expression + type WindowAggregation interface + Add func(ctx *Context, buffer, row Row) error + EvalRow func(i int, buffer Row) (interface{}, error) + Finish func(ctx *Context, buffer Row) error + NewBuffer func() Row + Window func() *Window + WithWindow func(window *Window) (WindowAggregation, error) + type WrappedInsertError struct + Cause error + OffendingRow Row + func NewWrappedInsertError(r Row, err error) WrappedInsertError + func (w WrappedInsertError) Error() string + type YearType interface + var ErrConvertingToYear = errors.NewKind("value %v is not a valid Year") + var Year YearType = yearType{}