Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
postgis
Commits
781f4d446261
Commit
c40b7b4d
authored
Jan 15, 2016
by
Julien Cristau
Browse files
expose ST_SRID function in rql
parent
b56f6150e6e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
site_cubicweb.py
View file @
781f4d44
...
...
@@ -260,6 +260,13 @@ class ST_MAKEPOINT(FunctionDescr):
rtype
=
'Geometry'
class
ST_SRID
(
FunctionDescr
):
minargs
=
1
maxargs
=
1
supported_backends
=
(
'postgres'
,)
rtype
=
'Geometry'
class
ST_SETSRID
(
FunctionDescr
):
minargs
=
2
maxargs
=
2
...
...
@@ -324,6 +331,7 @@ register_function(ST_CONVEXHULL)
register_function
(
ST_CONCAVEHULL
)
register_function
(
ST_MAKEPOINT
)
register_function
(
ST_SETSRID
)
register_function
(
ST_SRID
)
register_function
(
ST_DISTANCE_SPHERE
)
register_function
(
ST_X
)
register_function
(
ST_Y
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment