lp://staging/~jkakar/storm/block-access-context-manager
- Get this branch:
- bzr branch lp://staging/~jkakar/storm/block-access-context-manager
Branch merges
- Colin Watson (community): Approve
- James Henstridge: Approve
- Stuart Bishop (community): Approve
-
Diff: 91 lines (+79/-0)2 files modifiedstorm/store.py (+18/-0)
tests/store/block.py (+61/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 370. By Jamu Kakar
-
- New block_access context manager blocks database access for one or
more stores in the managed scope. - 366. By Jamu Kakar
-
Merged sqlobject-is-empty [r=lifeless,stub] [f=612351]
SQLObjectResultSet has a new is_empty method that behaves the same
as ResultSet.is_empty. It should be used in preference to
SQLObjectResultSet.__nonzero_ _, to ensure that code using the
SQLObject compatibility layer can be easily migrated to pure Storm. - 365. By Jamu Kakar
-
Merged any-strips-order-by [r=al-maisan,
therve] [f=608825] The ResultSet.any and ReferenceSet.any methods strip the ORDER BY
clause, when it's present, as a performance optimization. - 364. By Jamu Kakar
-
Merged result-
set-in- subselects [r=bigkevmcd, therve] [f=337494] A new ResultSet.
get_select_ expr method returns a Select expression
configured to return a user-defined set of columns, based on the
settings of result set. The primary purpose of this functionality
is to make it easy to convert a result set into a form that can be
used as a subselect. - 362. By Jamu Kakar
-
Merged is-empty-
strips- order-by [r=bigkevmcd, lifeless] [f=246200] ResultSet.is_empty strips the ORDER BY clause, if one is present,
before issuing a query. The result is the same but will perform
better in cases where the query would match a large number of rows. - 361. By Thomas Herve
-
Merge mutable-
alive-check- 553334 [r=jkakar,salgado] [f=553334] Add a checkpoint call when an object is updated from the cache with values from
a recent query, to detect changes from mutables correctly, and not issue useless
(or even harmful) updates from other objects.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/storm