query method
Implementation
String query() {
if (this == ForeignKeyAction.NO_ACTION) return 'NO ACTION';
if (this == ForeignKeyAction.RESTRICT) return 'RESTRICT';
if (this == ForeignKeyAction.SET_NULL) return 'SET NULL';
if (this == ForeignKeyAction.SET_DEFAULT) return 'SET DEFAULT';
if (this == ForeignKeyAction.CASCADE) return 'CASCADE';
return 'NO ACTION';
}