identifierQuoteForEngine static method
Returns the identifier quote character for engineType.
Oracle and Cassandra/ScyllaDB use unquoted identifiers so unquoted DDL names fold to their native case without requiring exact case matching.
Implementation
static String identifierQuoteForEngine(DbEngineType engineType) {
if (engineType == DbEngineType.mysql || engineType == DbEngineType.planetscale) {
return '`';
}
if (engineType == DbEngineType.oracle || engineType == DbEngineType.cassandra) {
return '';
}
return '"';
}