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
717faa717f15
Commit
43afa406
authored
Mar 24, 2016
by
Julien Cristau
Browse files
Add ST_AsEWKT binding
Closes #11836571
parent
28ace857ec98
Changes
1
Hide whitespace changes
Inline
Side-by-side
site_cubicweb.py
View file @
717faa71
...
...
@@ -188,6 +188,13 @@ class ST_ASGEOJSON(FunctionDescr):
rtype
=
'String'
class
ST_AsEWKT
(
FunctionDescr
):
minargs
=
1
maxargs
=
1
supported_backends
=
(
'postgres'
,)
rtype
=
'String'
class
ST_ASTEXT
(
FunctionDescr
):
minargs
=
1
maxargs
=
2
...
...
@@ -344,3 +351,4 @@ register_function(ST_Y)
register_function
(
ST_Z
)
register_function
(
ST_M
)
register_function
(
ST_EXTENT
)
register_function
(
ST_AsEWKT
)
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