mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
Dropped repeated doc links in the same paragraph
And some more sql docs cleanup.
This commit is contained in:
parent
f9b36433fb
commit
1e0aef032f
12
lib/sql.py
12
lib/sql.py
|
@ -85,11 +85,11 @@ class Composable(object):
|
||||||
|
|
||||||
class Composed(Composable):
|
class Composed(Composable):
|
||||||
"""
|
"""
|
||||||
A `Composable` object made of a sequence of `Composable`.
|
A `Composable` object made of a sequence of `!Composable`.
|
||||||
|
|
||||||
The object is usually created using `Composable` operators and methods.
|
The object is usually created using `!Composable` operators and methods.
|
||||||
However it is possible to create a `!Composed` directly specifying a
|
However it is possible to create a `!Composed` directly specifying a
|
||||||
sequence of `Composable` as arguments.
|
sequence of `!Composable` as arguments.
|
||||||
|
|
||||||
Example::
|
Example::
|
||||||
|
|
||||||
|
@ -291,9 +291,9 @@ class Identifier(Composable):
|
||||||
"""
|
"""
|
||||||
A `Composable` representing an SQL identifer.
|
A `Composable` representing an SQL identifer.
|
||||||
|
|
||||||
Identifiers usually represent names of database objects, such as tables
|
Identifiers usually represent names of database objects, such as tables or
|
||||||
or fields. They follow `different rules`__ than SQL string literals for
|
fields. PostgreSQL identifiers follow `different rules`__ than SQL string
|
||||||
escaping (e.g. they use double quotes).
|
literals for escaping (e.g. they use double quotes instead of single).
|
||||||
|
|
||||||
.. __: https://www.postgresql.org/docs/current/static/sql-syntax-lexical.html# \
|
.. __: https://www.postgresql.org/docs/current/static/sql-syntax-lexical.html# \
|
||||||
SQL-SYNTAX-IDENTIFIERS
|
SQL-SYNTAX-IDENTIFIERS
|
||||||
|
|
Loading…
Reference in New Issue
Block a user