Permalink
Browse files

add array operators: @> (contains) and @< (is contained by)

  • Loading branch information...
1 parent 3a607de commit 5e3902f7af6e79e06f57da4aeb75268cc499db2f @mishoo mishoo committed with Oct 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 s-sql/s-sql.lisp
View
@@ -437,7 +437,7 @@ with a given arity."
:intersect (:intersect-all "intersect all")
:except (:except-all "except all"))
;; PostGIS operators
-(register-sql-operators :2+-ary :&& :&< :|&<\|| :&> :<< :|<<\|| :>> :@ :|\|&>| :|\|>>| :~=)
+(register-sql-operators :2+-ary :&& :&< :|&<\|| :&> :<< :|<<\|| :>> :@ :|\|&>| :|\|>>| :~= :@> :@<)
(def-sql-op :|| (&rest args)
`("(" ,@(sql-expand-list args " || ") ")"))

0 comments on commit 5e3902f

Please sign in to comment.