summaryrefslogtreecommitdiff
path: root/sources/scala/dbc/statement/expression/SetFunction.scala
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scala/dbc/statement/expression/SetFunction.scala')
-rw-r--r--sources/scala/dbc/statement/expression/SetFunction.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scala/dbc/statement/expression/SetFunction.scala b/sources/scala/dbc/statement/expression/SetFunction.scala
index 3779dac581..6a3ba37d2d 100644
--- a/sources/scala/dbc/statement/expression/SetFunction.scala
+++ b/sources/scala/dbc/statement/expression/SetFunction.scala
@@ -20,14 +20,14 @@ object SetFunction {
abstract class General extends SetFunction {
def setQuantifier: Option[SetQuantifier];
def valueExpression: Expression;
- def sqlString = {
+ def sqlString = (
"(" +
(setQuantifier match {
case None => ""
case Some(sq) => sq.sqlString + " "
}) +
valueExpression.sqlString + ")"
- }
+ );
}
abstract class Binary extends SetFunction {
def sqlString = error("Binary set function is not supported yet.");