Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
array
Commits
2e6f2312d2db
Commit
12dd2a01
authored
Apr 30, 2013
by
Adrien Di Mascio
Browse files
[schema] use "double precision" pg type for FloatArray
parent
8f47519bf7cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
site_cubicweb.py
View file @
2e6f2312
...
...
@@ -16,7 +16,7 @@ def convert_array(values):
# Yams -> SQL type mapping
pghelper
.
TYPE_MAPPING
[
'IntArray'
]
=
'integer[]'
pghelper
.
TYPE_MAPPING
[
'FloatArray'
]
=
'double[]'
pghelper
.
TYPE_MAPPING
[
'FloatArray'
]
=
'double
precision
[]'
# Python -> SQL conversion
pghelper
.
TYPE_CONVERTERS
[
'IntArray'
]
=
convert_array
...
...
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