summaryrefslogtreecommitdiff
path: root/examples/sharding
Commit message (Collapse)AuthorAgeFilesLines
* Maul the evaulate & friends typoPriit Laes2014-12-191-1/+1
|
* Fix many typos throughout the codebasepr/85Alex Gaynor2014-04-261-1/+1
| | | | Found using: https://github.com/intgr/topy
* - add a new sphinx extension "viewsource". takes advantage of part of the ↵Mike Bayer2013-11-091-0/+2
| | | | | | | | | viewcode extension to allow ad-hoc display of the source of any file, as well as a "directory listing" structure. - reorganize examples/ to take advantage of new extension. in particular, keep moving all the descriptive text for files etc. into module docstrings, taking more advantage of self-documentation.
* -whitespace bonanza, contdMike Bayer2012-07-281-4/+4
|
* trailing whitespace bonanzaMike Bayer2012-07-281-17/+17
|
* - Fixed the attribute shard example to checkMike Bayer2011-06-261-11/+13
| | | | | for bind param callable correctly in 0.7 style.
* add example usage for shard_id in context feature [ticket:2031]Mike Bayer2011-01-231-2/+15
|
* - whitespace removal bonanzaMike Bayer2011-01-021-14/+14
|
* - gently push users towards entity name for simple casesMike Bayer2010-12-071-3/+13
|
* - NullPool is now used by default for SQLite file-Mike Bayer2010-11-281-2/+5
| | | | | | based databases. :memory: databases will continue to select SingletonThreadPool by default. [ticket:1921]
* - remove remaining create_session() calls from examples, replace with SessionMike Bayer2010-10-241-3/+1
| | | | - replace all flush()/expunge_all() with commit()
* - Updated attribute_shard.py example to use a more robustMike Bayer2010-04-021-32/+107
| | | | | method of searching a Query for binary expressions which compare columns against literal values.
* - The sqlalchemy.orm.shard module now becomes an extension,Mike Bayer2010-03-281-1/+1
| | | | | sqlalchemy.ext.horizontal_shard. The old import works with a deprecation warning.
* - The official name for the relation() function is nowMike Bayer2010-03-171-2/+2
| | | | | | relationship(), to eliminate confusion over the relational algebra term. relation() however will remain available in equal capacity for the foreseeable future. [ticket:1740]
* - mega example cleanupMike Bayer2010-01-192-18/+20
| | | | | | - added READMEs to all examples in each __init__.py and added to sphinx documentation - added versioning example - removed vertical/vertical.py, the dictlikes are more straightforward
* - Fixed a slight inaccuracy in the sharding example.Mike Bayer2009-10-251-1/+7
| | | | | | Comparing equivalence of columns in the ORM is best accomplished using col1.shares_lineage(col2). [ticket:1491]
* Added in Examples into the test suite so they get exercised regularly. ↵Michael Trier2009-07-271-0/+0
| | | | Cleaned up some deprecation warnings in the examples.
* Cleaned up the deprecation problems with the examples.Michael Trier2009-04-131-2/+2
|
* Lots of fixes to the code examples to specify imports explicitly.Michael Trier2009-03-311-7/+8
| | | | | | | Explicit imports make it easier for users to understand the examples. Additionally a lot of the examples were fixed to work with the changes in the 0.5.x code base. One small correction to the Case expression. Thanks a bunch to Adam Lowry! Fixes #717.
* - fixes to ShardedSession to work with deferred columns [ticket:771].Mike Bayer2007-09-081-1/+2
| | | | | | | - user-defined shard_chooser() function must accept "clause=None" argument; this is the ClauseElement passed to session.execute(statement) and can be used to determine correct shard id (since execute() doesn't take an instance)
* - modified SQL operator functions to be module-level operators, allowingMike Bayer2007-08-181-4/+4
| | | | | | | SQL expressions to be pickleable [ticket:735] - small adjustment to mapper class.__init__ to allow for Py2.6 object.__init__() behavior
* #725 add query arg to id_chooser()Mike Bayer2007-08-101-1/+1
|
* - added hooks for alternate session classes into sessionmakerMike Bayer2007-08-031-7/+12
| | | | - moved shard example/unittest over to sessionmaker
* merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to ↵Mike Bayer2007-07-271-0/+194
maintenance branch in branches/rel_0_3.