Hello,
*rows = [{"id": 1, "json_value": [{"key": "value"}, {"key2": "value2"}]},
{"id": 2, "json_column": None}] *
*insert_query = table.insert().values(rows)*
*connection.execute(insert_query)*
Doing this will have *"null" *(String) entered to the row where id=2.
Is there any way to properly do multiple row insert where value of some
JSON columns is NULL?
With Best Wishes,
Priidu Kull
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.