https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=PyGreSQL PyGreSQL - Versionsgeschichte 2025-07-22T05:47:15Z Versionsgeschichte dieser Seite in Wikipedia MediaWiki 1.45.0-wmf.10 https://de.wikipedia.org/w/index.php?title=PyGreSQL&diff=242097241&oldid=prev Aka: https, Kleinkram 2024-02-11T17:00:27Z <p>https, Kleinkram</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 11. Februar 2024, 19:00 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 2:</td> <td colspan="2" class="diff-lineno">Zeile 2:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul &lt;code&gt;pg&lt;/code&gt; ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode &lt;code&gt;connect&lt;/code&gt; die drei Objekte &lt;code&gt;pgobject&lt;/code&gt;, &lt;code&gt;pgqueryobject&lt;/code&gt; und &lt;code&gt;pglargeobject&lt;/code&gt;. Das Verbindungsobjekt (&lt;code&gt;pgobject&lt;/code&gt;) gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (&lt;code&gt;pgqueryobject&lt;/code&gt;) liefert Methoden für die Auswertung von Anfragergebnissen, die mit der &lt;code&gt;query&lt;/code&gt;-Methode aus &lt;code&gt;pgobject&lt;/code&gt; erzeugt werden. Es folgen einige Beispiele:</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul &lt;code&gt;pg&lt;/code&gt; ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode &lt;code&gt;connect&lt;/code&gt; die drei Objekte &lt;code&gt;pgobject&lt;/code&gt;, &lt;code&gt;pgqueryobject&lt;/code&gt; und &lt;code&gt;pglargeobject&lt;/code&gt;. Das Verbindungsobjekt (&lt;code&gt;pgobject&lt;/code&gt;) gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (&lt;code&gt;pgqueryobject&lt;/code&gt;) liefert Methoden für die Auswertung von Anfragergebnissen, die mit der &lt;code&gt;query&lt;/code&gt;-Methode aus &lt;code&gt;pgobject&lt;/code&gt; erzeugt werden. Es folgen einige Beispiele:</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*'''&lt;code&gt;x = db.query("SELECT name FROM states ORDER BY name")&lt;/code&gt;'''</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*<ins style="font-weight: bold; text-decoration: none;"> </ins>'''&lt;code&gt;x = db.query("SELECT name FROM states ORDER BY name")&lt;/code&gt;'''</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*'''&lt;code&gt;x.getresult()&lt;/code&gt;:''' Ergebnis ist vom Typ Liste, das heißt alle von Python bereitgestellten Zugriffsarten und Methoden auf Listen können angewandt werden</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*<ins style="font-weight: bold; text-decoration: none;"> </ins>'''&lt;code&gt;x.getresult()&lt;/code&gt;:''' Ergebnis ist vom Typ Liste, das heißt alle von Python bereitgestellten Zugriffsarten und Methoden auf Listen können angewandt werden</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*'''&lt;code&gt;x.ntuples()&lt;/code&gt;:''' Anzahl der gelieferten Datensätze</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*<ins style="font-weight: bold; text-decoration: none;"> </ins>'''&lt;code&gt;x.ntuples()&lt;/code&gt;:''' Anzahl der gelieferten Datensätze</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*'''&lt;code&gt;x.listfields()&lt;/code&gt;:''' Schreibt Namen der Ergebnisspalten in Liste</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*<ins style="font-weight: bold; text-decoration: none;"> </ins>'''&lt;code&gt;x.listfields()&lt;/code&gt;:''' Schreibt Namen der Ergebnisspalten in Liste</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Des Weiteren gibt es noch ein &lt;code&gt;pgdb&lt;/code&gt; Modul, welches die im [[Python Enhancement Proposal|PEP]] 249 definierte DB-API&amp;nbsp;2.0 implementiert, dies ermöglicht einen einfachen Wechsel auf andere Datenbanksysteme oder von anderen Datenbanksystemen zu PostgreSQL.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Des Weiteren gibt es noch ein &lt;code&gt;pgdb&lt;/code&gt; Modul, welches die im [[Python Enhancement Proposal|PEP]] 249 definierte DB-API&amp;nbsp;2.0 implementiert, dies ermöglicht einen einfachen Wechsel auf andere Datenbanksysteme oder von anderen Datenbanksystemen zu PostgreSQL.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* <del style="font-weight: bold; text-decoration: none;">http</del>://www.pygresql.org/</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* <ins style="font-weight: bold; text-decoration: none;">https</ins>://www.pygresql.org/</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Python-Bibliothek]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Python-Bibliothek]]</div></td> </tr> </table> Aka https://de.wikipedia.org/w/index.php?title=PyGreSQL&diff=230679061&oldid=prev Hoo man: + {{Infobox Software}} 2023-02-08T13:12:00Z <p>+ {{Infobox Software}}</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 8. Februar 2023, 15:12 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{Infobox Software}}</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul &lt;code&gt;pg&lt;/code&gt; ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode &lt;code&gt;connect&lt;/code&gt; die drei Objekte &lt;code&gt;pgobject&lt;/code&gt;, &lt;code&gt;pgqueryobject&lt;/code&gt; und &lt;code&gt;pglargeobject&lt;/code&gt;. Das Verbindungsobjekt (&lt;code&gt;pgobject&lt;/code&gt;) gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (&lt;code&gt;pgqueryobject&lt;/code&gt;) liefert Methoden für die Auswertung von Anfragergebnissen, die mit der &lt;code&gt;query&lt;/code&gt;-Methode aus &lt;code&gt;pgobject&lt;/code&gt; erzeugt werden. Es folgen einige Beispiele:</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul &lt;code&gt;pg&lt;/code&gt; ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode &lt;code&gt;connect&lt;/code&gt; die drei Objekte &lt;code&gt;pgobject&lt;/code&gt;, &lt;code&gt;pgqueryobject&lt;/code&gt; und &lt;code&gt;pglargeobject&lt;/code&gt;. Das Verbindungsobjekt (&lt;code&gt;pgobject&lt;/code&gt;) gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (&lt;code&gt;pgqueryobject&lt;/code&gt;) liefert Methoden für die Auswertung von Anfragergebnissen, die mit der &lt;code&gt;query&lt;/code&gt;-Methode aus &lt;code&gt;pgobject&lt;/code&gt; erzeugt werden. Es folgen einige Beispiele:</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*'''&lt;code&gt;x = db.query("SELECT name FROM states ORDER BY name")&lt;/code&gt;'''</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*'''&lt;code&gt;x = db.query("SELECT name FROM states ORDER BY name")&lt;/code&gt;'''</div></td> </tr> </table> Hoo man https://de.wikipedia.org/w/index.php?title=PyGreSQL&diff=225391450&oldid=prev 2A01:41E3:22E2:A900:A85A:4A4D:58AB:A1FD am 16. August 2022 um 19:11 Uhr 2022-08-16T19:11:46Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 16. August 2022, 21:11 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul <del style="font-weight: bold; text-decoration: none;">''</del>pg<del style="font-weight: bold; text-decoration: none;">''</del> ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode <del style="font-weight: bold; text-decoration: none;">''</del>connect<del style="font-weight: bold; text-decoration: none;">''</del> die drei Objekte <del style="font-weight: bold; text-decoration: none;">''</del>pgobject<del style="font-weight: bold; text-decoration: none;">''</del>, <del style="font-weight: bold; text-decoration: none;">''</del>pgqueryobject<del style="font-weight: bold; text-decoration: none;">''</del> und <del style="font-weight: bold; text-decoration: none;">''</del>pglargeobject<del style="font-weight: bold; text-decoration: none;">''</del>. Das Verbindungsobjekt (<del style="font-weight: bold; text-decoration: none;">''</del>pgobject<del style="font-weight: bold; text-decoration: none;">''</del>) gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (<del style="font-weight: bold; text-decoration: none;">''</del>pgqueryobject<del style="font-weight: bold; text-decoration: none;">''</del>) liefert Methoden für die Auswertung von Anfragergebnissen, die mit der <del style="font-weight: bold; text-decoration: none;">''</del>query<del style="font-weight: bold; text-decoration: none;">''</del>-Methode aus <del style="font-weight: bold; text-decoration: none;">''</del>pgobject<del style="font-weight: bold; text-decoration: none;">''</del> erzeugt werden. Es folgen einige Beispiele:</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>pg<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>connect<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> die drei Objekte <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>pgobject<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins>, <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>pgqueryobject<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> und <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>pglargeobject<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins>. Das Verbindungsobjekt (<ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>pgobject<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins>) gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (<ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>pgqueryobject<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins>) liefert Methoden für die Auswertung von Anfragergebnissen, die mit der <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>query<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins>-Methode aus <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>pgobject<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> erzeugt werden. Es folgen einige Beispiele:</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*''x = db.query("<del style="font-weight: bold; text-decoration: none;">select</del> name <del style="font-weight: bold; text-decoration: none;">from</del> states <del style="font-weight: bold; text-decoration: none;">order</del> <del style="font-weight: bold; text-decoration: none;">by</del> name")''</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*''<ins style="font-weight: bold; text-decoration: none;">'&lt;code&gt;</ins>x = db.query("<ins style="font-weight: bold; text-decoration: none;">SELECT</ins> name <ins style="font-weight: bold; text-decoration: none;">FROM</ins> states <ins style="font-weight: bold; text-decoration: none;">ORDER</ins> <ins style="font-weight: bold; text-decoration: none;">BY</ins> name")<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;'</ins>''</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*''x.getresult()''<del style="font-weight: bold; text-decoration: none;"> –</del> Ergebnis ist vom Typ Liste, <del style="font-weight: bold; text-decoration: none;">d.&amp;nbsp;h.</del> alle von Python bereitgestellten Zugriffsarten und Methoden auf Listen können angewandt werden</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*''<ins style="font-weight: bold; text-decoration: none;">'&lt;code&gt;</ins>x.getresult()<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;:'</ins>'' Ergebnis ist vom Typ Liste, <ins style="font-weight: bold; text-decoration: none;">das heißt</ins> alle von Python bereitgestellten Zugriffsarten und Methoden auf Listen können angewandt werden</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*''x.ntuples()''<del style="font-weight: bold; text-decoration: none;"> –</del> Anzahl der gelieferten Datensätze</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*''<ins style="font-weight: bold; text-decoration: none;">'&lt;code&gt;</ins>x.ntuples()<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;:'</ins>'' Anzahl der gelieferten Datensätze</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*''x.listfields()'' <del style="font-weight: bold; text-decoration: none;">– schreibt</del> Namen der Ergebnisspalten in Liste</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*''<ins style="font-weight: bold; text-decoration: none;">'&lt;code&gt;</ins>x.listfields()<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;:'</ins>'' <ins style="font-weight: bold; text-decoration: none;">Schreibt</ins> Namen der Ergebnisspalten in Liste</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Des Weiteren gibt es noch ein <del style="font-weight: bold; text-decoration: none;">''</del>pgdb<del style="font-weight: bold; text-decoration: none;">''</del> Modul, welches die im [[Python Enhancement Proposal|PEP]] 249 definierte DB-API<del style="font-weight: bold; text-decoration: none;"> </del>2.0 implementiert, dies ermöglicht einen einfachen Wechsel auf andere Datenbanksysteme oder von anderen Datenbanksystemen zu PostgreSQL.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Des Weiteren gibt es noch ein <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>pgdb<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> Modul, welches die im [[Python Enhancement Proposal|PEP]] 249 definierte DB-API<ins style="font-weight: bold; text-decoration: none;">&amp;nbsp;</ins>2.0 implementiert, dies ermöglicht einen einfachen Wechsel auf andere Datenbanksysteme oder von anderen Datenbanksystemen zu PostgreSQL.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> </tr> </table> 2A01:41E3:22E2:A900:A85A:4A4D:58AB:A1FD https://de.wikipedia.org/w/index.php?title=PyGreSQL&diff=220981160&oldid=prev 91.60.204.181 am 10. März 2022 um 20:45 Uhr 2022-03-10T20:45:11Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 10. März 2022, 22:45 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul ''pg'' ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode ''connect'' die drei Objekte ''<del style="font-weight: bold; text-decoration: none;">pgpbject</del>'', ''pgqueryobject'' und ''pglargeobject''. Das Verbindungsobjekt (''pgobject'') gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (''pgqueryobject'') liefert Methoden für die Auswertung von Anfragergebnissen, die mit der ''query''-Methode aus ''pgobject'' erzeugt werden. Es folgen einige Beispiele:</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul ''pg'' ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode ''connect'' die drei Objekte ''<ins style="font-weight: bold; text-decoration: none;">pgobject</ins>'', ''pgqueryobject'' und ''pglargeobject''. Das Verbindungsobjekt (''pgobject'') gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (''pgqueryobject'') liefert Methoden für die Auswertung von Anfragergebnissen, die mit der ''query''-Methode aus ''pgobject'' erzeugt werden. Es folgen einige Beispiele:</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x = db.query("select name from states order by name")''</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x = db.query("select name from states order by name")''</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x.getresult()'' – Ergebnis ist vom Typ Liste, d.&amp;nbsp;h. alle von Python bereitgestellten Zugriffsarten und Methoden auf Listen können angewandt werden</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x.getresult()'' – Ergebnis ist vom Typ Liste, d.&amp;nbsp;h. alle von Python bereitgestellten Zugriffsarten und Methoden auf Listen können angewandt werden</div></td> </tr> </table> 91.60.204.181 https://de.wikipedia.org/w/index.php?title=PyGreSQL&diff=220350479&oldid=prev 2001:16B8:2CF9:8400:6EB3:11FF:FE52:1BA8 am 18. Februar 2022 um 22:58 Uhr 2022-02-18T22:58:47Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 19. Februar 2022, 00:58 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 6:</td> <td colspan="2" class="diff-lineno">Zeile 6:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Des Weiteren gibt es noch ein ''pgdb'' Modul, welches die im [[Python Enhancement Proposal|PEP]] 249 definierte DB-API 2.0 implementiert, dies ermöglicht einen einfachen Wechsel auf andere Datenbanksysteme oder von anderen Datenbanksystemen zu PostgreSQL.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Des Weiteren gibt es noch ein ''pgdb'' Modul, welches die im [[Python Enhancement Proposal|PEP]] 249 definierte DB-API 2.0 implementiert, dies ermöglicht einen einfachen Wechsel auf andere Datenbanksysteme oder von anderen Datenbanksystemen zu PostgreSQL.</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* http://www.pygresql.org/</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Python-Bibliothek]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Python-Bibliothek]]</div></td> </tr> </table> 2001:16B8:2CF9:8400:6EB3:11FF:FE52:1BA8 https://de.wikipedia.org/w/index.php?title=PyGreSQL&diff=220350427&oldid=prev Thomas Dresler: Komma vor „sondern“, „indem“, „wobei“ etc. 2022-02-18T22:55:30Z <p>Komma vor „sondern“, „indem“, „wobei“ etc.</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 19. Februar 2022, 00:55 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 5:</td> <td colspan="2" class="diff-lineno">Zeile 5:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x.listfields()'' – schreibt Namen der Ergebnisspalten in Liste</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x.listfields()'' – schreibt Namen der Ergebnisspalten in Liste</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Des Weiteren gibt es noch ein ''pgdb'' Modul welches die im [[Python Enhancement Proposal|PEP]] 249 definierte DB-API 2.0 implementiert, dies ermöglicht einen einfachen Wechsel auf andere Datenbanksysteme oder von anderen Datenbanksystemen zu PostgreSQL.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Des Weiteren gibt es noch ein ''pgdb'' Modul<ins style="font-weight: bold; text-decoration: none;">,</ins> welches die im [[Python Enhancement Proposal|PEP]] 249 definierte DB-API 2.0 implementiert, dies ermöglicht einen einfachen Wechsel auf andere Datenbanksysteme oder von anderen Datenbanksystemen zu PostgreSQL.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Python-Bibliothek]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Python-Bibliothek]]</div></td> </tr> </table> Thomas Dresler https://de.wikipedia.org/w/index.php?title=PyGreSQL&diff=201621037&oldid=prev KnightMove: Kategorie:Abkürzung 2020-07-06T11:28:12Z <p><a href="/wiki/Kategorie:Abk%C3%BCrzung" title="Kategorie:Abkürzung">Kategorie:Abkürzung</a></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 6. Juli 2020, 13:28 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 9:</td> <td colspan="2" class="diff-lineno">Zeile 9:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Python-Bibliothek]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Python-Bibliothek]]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:PostgreSQL]]</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:PostgreSQL]]</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Abkürzung]]</div></td> </tr> </table> KnightMove https://de.wikipedia.org/w/index.php?title=PyGreSQL&diff=191442267&oldid=prev Aka: Halbgeviertstrich 2019-08-17T19:17:40Z <p>Halbgeviertstrich</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 17. August 2019, 21:17 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul ''pg'' ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode ''connect'' die drei Objekte ''pgpbject'', ''pgqueryobject'' und ''pglargeobject''. Das Verbindungsobjekt (''pgobject'') gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (''pgqueryobject'') liefert Methoden für die Auswertung von Anfragergebnissen, die mit der ''query''-Methode aus ''pgobject'' erzeugt werden. Es folgen einige Beispiele:</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul ''pg'' ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode ''connect'' die drei Objekte ''pgpbject'', ''pgqueryobject'' und ''pglargeobject''. Das Verbindungsobjekt (''pgobject'') gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (''pgqueryobject'') liefert Methoden für die Auswertung von Anfragergebnissen, die mit der ''query''-Methode aus ''pgobject'' erzeugt werden. Es folgen einige Beispiele:</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x = db.query("select name from states order by name")''</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x = db.query("select name from states order by name")''</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*''x.getresult()'' <del style="font-weight: bold; text-decoration: none;">-</del> Ergebnis ist vom Typ Liste, d.&amp;nbsp;h. alle von Python bereitgestellten Zugriffsarten und Methoden auf Listen können angewandt werden</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*''x.getresult()'' <ins style="font-weight: bold; text-decoration: none;">–</ins> Ergebnis ist vom Typ Liste, d.&amp;nbsp;h. alle von Python bereitgestellten Zugriffsarten und Methoden auf Listen können angewandt werden</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*''x.ntuples()'' <del style="font-weight: bold; text-decoration: none;">-</del> Anzahl der gelieferten Datensätze</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*''x.ntuples()'' <ins style="font-weight: bold; text-decoration: none;">–</ins> Anzahl der gelieferten Datensätze</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*''x.listfields()'' <del style="font-weight: bold; text-decoration: none;">-</del> schreibt Namen der Ergebnisspalten in Liste</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*''x.listfields()'' <ins style="font-weight: bold; text-decoration: none;">–</ins> schreibt Namen der Ergebnisspalten in Liste</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Des Weiteren gibt es noch ein ''pgdb'' Modul welches die im [[Python Enhancement Proposal|PEP]] 249 definierte DB-API 2.0 implementiert, dies ermöglicht einen einfachen Wechsel auf andere Datenbanksysteme oder von anderen Datenbanksystemen zu PostgreSQL.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Des Weiteren gibt es noch ein ''pgdb'' Modul welches die im [[Python Enhancement Proposal|PEP]] 249 definierte DB-API 2.0 implementiert, dies ermöglicht einen einfachen Wechsel auf andere Datenbanksysteme oder von anderen Datenbanksystemen zu PostgreSQL.</div></td> </tr> </table> Aka https://de.wikipedia.org/w/index.php?title=PyGreSQL&diff=174202081&oldid=prev Aka: Abkürzung korrigiert 2018-02-19T22:54:43Z <p>Abkürzung korrigiert</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 20. Februar 2018, 00:54 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul ''pg'' ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode ''connect'' die drei Objekte ''pgpbject'', ''pgqueryobject'' und ''pglargeobject''. Das Verbindungsobjekt (''pgobject'') gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (''pgqueryobject'') liefert Methoden für die Auswertung von Anfragergebnissen, die mit der ''query''-Methode aus ''pgobject'' erzeugt werden. Es folgen einige Beispiele:</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''PyGreSQL''' ist eine [[Python (Programmiersprache)|Python]]-[[Programmbibliothek]] zum Ansprechen einer [[PostgreSQL]]-Datenbank. Das dafür vorgesehene Modul ''pg'' ist in der Programmiersprache [[C (Programmiersprache)|C]] geschrieben und definiert neben der Methode ''connect'' die drei Objekte ''pgpbject'', ''pgqueryobject'' und ''pglargeobject''. Das Verbindungsobjekt (''pgobject'') gilt der Verwaltung von Parametern einer PostgreSQL-Verbindung und lässt über Funktionen darauf zugreifen. Das Anfrageergebnisobjekt (''pgqueryobject'') liefert Methoden für die Auswertung von Anfragergebnissen, die mit der ''query''-Methode aus ''pgobject'' erzeugt werden. Es folgen einige Beispiele:</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x = db.query("select name from states order by name")''</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x = db.query("select name from states order by name")''</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*''x.getresult()'' - Ergebnis ist vom Typ Liste, d.h. alle von Python bereitgestellten Zugriffsarten und Methoden auf Listen können angewandt werden</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*''x.getresult()'' - Ergebnis ist vom Typ Liste, d.<ins style="font-weight: bold; text-decoration: none;">&amp;nbsp;</ins>h. alle von Python bereitgestellten Zugriffsarten und Methoden auf Listen können angewandt werden</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x.ntuples()'' - Anzahl der gelieferten Datensätze</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x.ntuples()'' - Anzahl der gelieferten Datensätze</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x.listfields()'' - schreibt Namen der Ergebnisspalten in Liste</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*''x.listfields()'' - schreibt Namen der Ergebnisspalten in Liste</div></td> </tr> </table> Aka https://de.wikipedia.org/w/index.php?title=PyGreSQL&diff=169426682&oldid=prev Trustable: Trustable verschob die Seite Pygresql nach PyGreSQL: Schreibweise wie im Artikel 2017-09-25T19:16:38Z <p>Trustable verschob die Seite <a href="/wiki/Pygresql" class="mw-redirect" title="Pygresql">Pygresql</a> nach <a href="/wiki/PyGreSQL" title="PyGreSQL">PyGreSQL</a>: Schreibweise wie im Artikel</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <tr class="diff-title" lang="de"> <td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Version vom 25. September 2017, 21:16 Uhr</td> </tr><tr><td colspan="2" class="diff-notice" lang="de"><div class="mw-diff-empty">(kein Unterschied)</div> </td></tr></table> Trustable