Passing Json file to DO's Db service with python

May 7, 2019 312 views
Python Ubuntu 18.04

i am trying to pass a json to Digital Oceans database service via Python but i’m missing the starting point. What would be the simplest way?7


1 Answer


You could try using the psycopg2 and json modules. Postgres allows you to store json as columns having a datatype of JSON or JSONB.


Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!