Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Martin Dinov
POD
Commits
bfe6c8c7
Verified
Commit
bfe6c8c7
authored
4 years ago
by
Vasili Novikov
Browse files
Options
Download
Email Patches
Plain Diff
hack: remove arrays and booleans from input JSON
See
memri/pod#94
parent
76c891a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sql_converters.rs
+1
-0
src/sql_converters.rs
with
1 addition
and
0 deletions
+1
-0
src/sql_converters.rs
+
1
-
0
View file @
bfe6c8c7
...
...
@@ -38,6 +38,7 @@ pub fn fields_mapping_to_owned_sql_params(
for
(
field
,
value
)
in
fields_map
{
match
value
{
Value
::
Array
(
_
)
=>
continue
,
Value
::
Bool
(
_
)
=>
continue
,
_
=>
()
};
let
field
=
format!
(
":{}"
,
field
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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