diff options
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/hstore.py | 8 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/json.py | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/psycopg2.py | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index eb3449e40..6c1909e1d 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -901,7 +901,7 @@ class ENUM(sqltypes.Enum): or :meth:`~.postgresql.ENUM.drop` are called directly. Setting to ``False`` is helpful - when invoking a creation scheme to a SQL file + when invoking a creation scheme to an SQL file without access to the actual database - the :meth:`~.postgresql.ENUM.create` and :meth:`~.postgresql.ENUM.drop` methods can diff --git a/lib/sqlalchemy/dialects/postgresql/hstore.py b/lib/sqlalchemy/dialects/postgresql/hstore.py index 67923fe39..ca8cffcd2 100644 --- a/lib/sqlalchemy/dialects/postgresql/hstore.py +++ b/lib/sqlalchemy/dialects/postgresql/hstore.py @@ -137,7 +137,7 @@ class HSTORE(sqltypes.Indexable, sqltypes.Concatenable, sqltypes.TypeEngine): def has_key(self, other): """Boolean expression. Test for presence of a key. Note that the - key may be a SQLA expression. + key may be an SQLA expression. """ return self.operate(HAS_KEY, other, result_type=sqltypes.Boolean) @@ -169,13 +169,13 @@ class HSTORE(sqltypes.Indexable, sqltypes.Concatenable, sqltypes.TypeEngine): def defined(self, key): """Boolean expression. Test for presence of a non-NULL value for - the key. Note that the key may be a SQLA expression. + the key. Note that the key may be an SQLA expression. """ return _HStoreDefinedFunction(self.expr, key) def delete(self, key): """HStore expression. Returns the contents of this hstore with the - given key deleted. Note that the key may be a SQLA expression. + given key deleted. Note that the key may be an SQLA expression. """ if isinstance(key, dict): key = _serialize_hstore(key) @@ -246,7 +246,7 @@ ischema_names['hstore'] = HSTORE class hstore(sqlfunc.GenericFunction): - """Construct an hstore value within a SQL expression using the + """Construct an hstore value within an SQL expression using the Postgresql ``hstore()`` function. The :class:`.hstore` function accepts one or two arguments as described diff --git a/lib/sqlalchemy/dialects/postgresql/json.py b/lib/sqlalchemy/dialects/postgresql/json.py index b0f0f7cf0..1791b49d5 100644 --- a/lib/sqlalchemy/dialects/postgresql/json.py +++ b/lib/sqlalchemy/dialects/postgresql/json.py @@ -242,7 +242,7 @@ class JSONB(JSON): def has_key(self, other): """Boolean expression. Test for presence of a key. Note that the - key may be a SQLA expression. + key may be an SQLA expression. """ return self.operate(HAS_KEY, other, result_type=sqltypes.Boolean) diff --git a/lib/sqlalchemy/dialects/postgresql/psycopg2.py b/lib/sqlalchemy/dialects/postgresql/psycopg2.py index fe245b21d..046aa22a8 100644 --- a/lib/sqlalchemy/dialects/postgresql/psycopg2.py +++ b/lib/sqlalchemy/dialects/postgresql/psycopg2.py @@ -188,7 +188,7 @@ one of these characters in its name. One is to specify the ) Above, an INSERT statement such as ``measurement.insert()`` will use -``size_meters`` as the parameter name, and a SQL expression such as +``size_meters`` as the parameter name, and an SQL expression such as ``measurement.c.size_meters > 10`` will derive the bound parameter name from the ``size_meters`` key as well. |