List comprehensions for database requests
for Windows

A way to make a request to a database is to write a string with the SQL syntax.

  • Total Downloads
    6
  • Downloads Last Week
    0
  • User Rating
    0
  • My Rating

List comprehensions for database requests Description

The usual way to make a request to a database is to write a String with the SQL syntax, then execute this request and get the result as a list with cursor.fetchall() or cursor.fetchone()

Python has list comprehensions to select items in an iterable if a certain condition is true ; this is very Similar to database requests

This recipe wraps a table of a DB-API compliant database in a class that implements the iteration protocol, so that you can use the for ... in ... if ... syntax

List comprehensions for database requests Screenshots

Screenshots are not available currently.

What's New in List comprehensions for database requests 1.0

Release notes are not available currently.

List comprehensions for database requests Requirements

Operating Systems:

Windows ,Linux,Mac OS,BSD,Solaris

System Requirements:

No additional system requirements.

Quick Specifications

See Full Specifications

More From Pierre Quentel

  • ScriptServer
    ScriptServer handles both GET and POST requests application servers.
  • PyDbLite
    PyDbLite is a pure-Python, fast, in-memory database with a Pythonic syntax.
See More

Essential Downloads in Python

See More