asOperator method
Implementation
String asOperator() {
// pg_trgm names the class "gin_trgm_ops", not just "trgm_ops".
if (this == GinOperatorClass.trgmOps) return 'gin_trgm_ops';
return name.snakeCase;
}
String asOperator() {
// pg_trgm names the class "gin_trgm_ops", not just "trgm_ops".
if (this == GinOperatorClass.trgmOps) return 'gin_trgm_ops';
return name.snakeCase;
}