diff options
Diffstat (limited to 'src/main/java/org')
| -rw-r--r-- | src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java b/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java index 6fb2813..de421fc 100644 --- a/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java +++ b/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java @@ -197,18 +197,18 @@ public class SqlWriter { this.writeExpression(binaryOperation.right()); } - private void writeColumnReference(SqlColumnReference columnReference) throws IOException { - this.writeIdentifier(columnReference.relationName()); - this.writer.write("."); - this.writeIdentifier(columnReference.columnName()); - } - private void writeBinaryOperator(SqlBinaryOperator operator) throws IOException { this.writer.write(switch (operator) { case EQUALS -> "=="; }); } + private void writeColumnReference(SqlColumnReference columnReference) throws IOException { + this.writeIdentifier(columnReference.relationName()); + this.writer.write("."); + this.writeIdentifier(columnReference.columnName()); + } + private void writeIntLiteral(SqlIntLiteral intLiteral) throws IOException { this.writer.write(Long.toString(intLiteral.value())); } |
