MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / AllDialects

Function AllDialects

pkg/sql/keywords/dialect.go:143–157  ·  view source on GitHub ↗

AllDialects returns all supported SQL dialect identifiers. This includes both fully implemented dialects (with dialect-specific keywords) and placeholder dialects that currently use only the base keyword set. Example: for _, d := range keywords.AllDialects() { fmt.Println(d) }

()

Source from the content-addressed store, hash-verified

141// fmt.Println(d)
142// }
143func AllDialects() []SQLDialect {
144 return []SQLDialect{
145 DialectGeneric,
146 DialectPostgreSQL,
147 DialectMySQL,
148 DialectMariaDB,
149 DialectSQLServer,
150 DialectOracle,
151 DialectSQLite,
152 DialectSnowflake,
153 DialectBigQuery,
154 DialectRedshift,
155 DialectClickHouse,
156 }
157}
158
159// GetCompoundKeywords returns the compound keywords map.
160// Compound keywords are multi-word SQL keywords like "GROUP BY", "ORDER BY",

Callers 8

validDialectListFunction · 0.92
TestValidateListDialectsFunction · 0.92
validateRunFunction · 0.92
TestDialectRegistryFunction · 0.85
IsValidDialectFunction · 0.85

Calls

no outgoing calls

Tested by 5

TestValidateListDialectsFunction · 0.74
TestDialectRegistryFunction · 0.68