title: PostgreSQL document based in python
body: <p>based on business requirement, we need to get the data from PostgreSQL document based database in python</p>
  
  <p>PostgreSQL:</p>
  
  <pre><code>select info from "spyConfig" where info @&gt; '{"type" : "processmap"}';
  </code></pre>
  
  <p>its working as expected in postgresql interface, same query i want to execute in python.</p>
  
  <pre><code>cur.execute("SELECT info FROM spyConfig WHERE info @&gt; %s", 
  {'type':'processmap'})
  </code></pre>
  
  <p>its not working in python, even i want to pass table as parameter, i have tried here and research on it but its not working in python.
  please give me suggestion to solve this and let me know if any details to add here, i will update as need, Thanks.</p>