mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-28 20:03:43 +03:00
sql module docs wordsmithing
This commit is contained in:
parent
cf40bff2e2
commit
d97399daa5
1
NEWS
1
NEWS
|
@ -6,6 +6,7 @@ What's new in psycopg 2.7
|
|||
|
||||
New features:
|
||||
|
||||
- Added `~psycopg2.sql` module to generate SQL dynamically (:ticket:`#308`).
|
||||
- Added :ref:`replication-support` (:ticket:`#322`). Main authors are
|
||||
Oleksandr Shulgin and Craig Ringer, who deserve a huge thank you.
|
||||
- Added `~psycopg2.extensions.parse_dsn()` and
|
||||
|
|
|
@ -72,9 +72,9 @@ class Composed(Composable):
|
|||
"""
|
||||
A `Composable` object obtained concatenating a sequence of `Composable`.
|
||||
|
||||
The object is usually created using `compose()` and the `Composable`
|
||||
operators. However it is possible to create a `!Composed` directly
|
||||
specifying a sequence of `Composable` as arguments.
|
||||
The object is usually created using `Composable` operators. However it is
|
||||
possible to create a `!Composed` directly specifying a sequence of
|
||||
`Composable` as arguments.
|
||||
|
||||
Example::
|
||||
|
||||
|
@ -230,7 +230,7 @@ class Identifier(Composable):
|
|||
|
||||
class Literal(Composable):
|
||||
"""
|
||||
Represent an SQL value to be included in a query.
|
||||
A `Composable` representing an SQL value to include in a query.
|
||||
|
||||
Usually you will want to include placeholders in the query and pass values
|
||||
as `~cursor.execute()` arguments. If however you really really need to
|
||||
|
|
Loading…
Reference in New Issue
Block a user