public class SqlLanguage extends Object
Canonical case-insensitive LanguageProfile factory for SQL (.sql, .ddl, .dml, .psql).
Consolidates standard ANSI SQL, PostgreSQL, MySQL/MariaDB, SQLite, Oracle PL/SQL, and SQL Server T-SQL keywords, data types, aggregate/window functions, and comment styles.
import klyn.code.sql
profile = SqlLanguage.profile()
assert profile.id == "sql"
assert profile.caseInsensitive
assert profile.isKeyword("SELECT")
assert profile.isType("VARCHAR")| Modifier and Type | Member | Description |
|---|---|---|
| public static | profileprofile() as LanguageProfile |
Returns the shared singleton LanguageProfile for SQL. |