Skip to content

Commit

Permalink
Minor consistency fix in quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
manojlds committed Dec 29, 2017
1 parent c3d442c commit f9ccf58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait Quotes { this: PostgresAsyncContext[_] =>

implicit class OptDateTimeQuotes(l: Option[DateTime]) {
def >(r: DateTime) = quote(infix"($l::timestamptz is null) or $l > $r".as[Boolean])
def <(r: DateTime) = quote(infix"$l::timestamptz is null or $l < $r".as[Boolean])
def <(r: DateTime) = quote(infix"($l::timestamptz is null) or $l < $r".as[Boolean])
}
}

Expand Down

0 comments on commit f9ccf58

Please sign in to comment.