Change-Id: Ic640ccf7459c39cb4f6ab8dcfb3efed1a1dbb55f
# configure the database
sleep 10
- docker exec -ti postgres psql -U scott -c 'CREATE SCHEMA test_schema; CREATE SCHEMA test_schema_2;' test
+ docker exec -ti postgres psql -U scott -c 'CREATE SCHEMA test_schema; CREATE SCHEMA test_schema_2;CREATE EXTENSION hstore;' test
# this last command is optional
docker exec -ti postgres sed -i 's/#max_prepared_transactions = 0/max_prepared_transactions = 10/g' /var/lib/postgresql/data/postgresql.conf
.execution_options(populate_existing=True)
).first()
-* The :func:`_orm.with_expression` SQL expression **is lost when when the object is
+* The :func:`_orm.with_expression` SQL expression **is lost when the object is
expired**. Once the object is expired, either via :meth:`.Session.expire`
or via the expire_on_commit behavior of :meth:`.Session.commit`, the SQL
expression and its value is no longer associated with the attribute and will