<div dir="auto">Hi Shao,<div dir="auto">Using Python allows you to integrate a query into a workflow that has some batch component to it. Examples would be a query which allows you to select a set of records that need to be updated daily. Or it could be a query that needs to be run on hundreds of files to build a summary of the data or it could be part of a process that is triggered by some outside event, like a file being updated. I hope I haven't misinterpreted your question but you seem to be asking why you'd want to automate interactions with a database, a question to which there are thousands of responses. Please clarify if that is not the case.</div><div dir="auto"><br></div><div dir="auto">Kind regards,</div><div dir="auto">Laura</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 31, 2020, 5:05 AM Shaozhong SHI <<a href="mailto:shishaozhong@gmail.com">shishaozhong@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>What is the advantage of querying in Python?</div><div><br></div><div>Has anyone got much experience?</div><div><br></div><div>What not just use standard query?</div><div><br></div><div>What is the rationale for querying in Python?</div><div><br></div><div>Regards,</div><div><br></div><div>Shao</div></div>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank" rel="noreferrer">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div>