You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to parse CREATE DATABASE DATABASE_NAME ? #2070
PR #2471 adds a typed CreateDatabase statement: CREATE DATABASE [IF NOT EXISTS] <name> parses into CreateDatabase (with getDatabaseName()), and vendor-specific options after the name such as MySQL's DEFAULT CHARACTER SET utf8mb4 are captured verbatim and round-trip unchanged.
Activity
manticore-projects commentedon Sep 6, 2024
I just double checked that Grammar: there is indeed no support yet for
CREATE DATABASE ...PRs are welcome.
ganesh-akashh commentedon Sep 9, 2024
Can you share a user guide on how to introduce new features ?
manticore-projects commentedon Sep 9, 2024
Greetings!
https://manticore-projects.com/JSQLParser/contribution.html
Cheers!
fudianchn commentedon Aug 15, 2026
PR #2471 adds a typed
CreateDatabasestatement:CREATE DATABASE [IF NOT EXISTS] <name>parses intoCreateDatabase(withgetDatabaseName()), and vendor-specific options after the name such as MySQL'sDEFAULT CHARACTER SET utf8mb4are captured verbatim and round-trip unchanged.feat: support CREATE DATABASE statement (#2070) (#2471)