<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git, branch pr/20</title>
<subtitle>github.com: zzzeek/sqlalchemy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/'/>
<entry>
<title>mapping multiple tables for one class</title>
<updated>2013-08-01T14:24:31+00:00</updated>
<author>
<name>biner</name>
<email>huanghuibin@gmail.com</email>
</author>
<published>2013-08-01T14:24:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=1a090caaf459eb49f939c0cf385a7b02331b67f3'/>
<id>1a090caaf459eb49f939c0cf385a7b02331b67f3</id>
<content type='text'>
I'm doing something to finish the horizontal shard job.
The examle is sharding to multiple database . And i just do it for
multipls tables in one database.

there is many tables just like  msg_00,msg_01..... msg_99
defind  the class like  Msg()  map the tables .

===============================
m = Msg
number = int(uid)%100
tablename = 'msg_%02d'%(number)
m.__uuid__ = uid
m.__table__.name = tablename
===============================
now  "m" mapping the table msg_xx .
It works in the select sql.
but fail in the session.add(newmessage) because the sqlalchemy has cache
connection .  event one table is  Table(msg_00) and another is Table
(msg_01)

So, i edit the memo key .   then there is diff  insert object .

------------------
It's simple change and useful. It‘s safe for the old version .
sorry for my poor english.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm doing something to finish the horizontal shard job.
The examle is sharding to multiple database . And i just do it for
multipls tables in one database.

there is many tables just like  msg_00,msg_01..... msg_99
defind  the class like  Msg()  map the tables .

===============================
m = Msg
number = int(uid)%100
tablename = 'msg_%02d'%(number)
m.__uuid__ = uid
m.__table__.name = tablename
===============================
now  "m" mapping the table msg_xx .
It works in the select sql.
but fail in the session.add(newmessage) because the sqlalchemy has cache
connection .  event one table is  Table(msg_00) and another is Table
(msg_01)

So, i edit the memo key .   then there is diff  insert object .

------------------
It's simple change and useful. It‘s safe for the old version .
sorry for my poor english.
</pre>
</div>
</content>
</entry>
<entry>
<title>Updates to MySQL reserved words for versions 5.5, 5.6, courtesy</title>
<updated>2013-08-01T01:05:33+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2013-08-01T01:05:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=25839c064d995b3664f0cef01768961ac5e4807f'/>
<id>25839c064d995b3664f0cef01768961ac5e4807f</id>
<content type='text'>
Hanno Schlichting.  Also in 0.8.3, 0.7.11.
[ticket:2791]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hanno Schlichting.  Also in 0.8.3, 0.7.11.
[ticket:2791]
</pre>
</div>
</content>
</entry>
<entry>
<title>fix missing comma</title>
<updated>2013-07-31T23:07:13+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2013-07-31T23:07:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=5d4094ba739b35775e6e4810b730fab510de7707'/>
<id>5d4094ba739b35775e6e4810b730fab510de7707</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- update ORM event docs to include that you can listen on an unmapped base,</title>
<updated>2013-07-31T23:05:58+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2013-07-31T23:05:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c6fdfeed00e25988115254ee5ea8c05253bdbd9f'/>
<id>c6fdfeed00e25988115254ee5ea8c05253bdbd9f</id>
<content type='text'>
[ticket:2777]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ticket:2777]
</pre>
</div>
</content>
</entry>
<entry>
<title>fix changelog</title>
<updated>2013-07-31T22:50:16+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2013-07-31T22:50:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=b27ee74f18d85ce615f37bd20b4ccff281f8b815'/>
<id>b27ee74f18d85ce615f37bd20b4ccff281f8b815</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed bug in common table expression system where if the CTE were</title>
<updated>2013-07-31T22:42:58+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2013-07-31T22:42:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=8b0f4d2a92c54cde9fefa8182bbd1bb503071d49'/>
<id>8b0f4d2a92c54cde9fefa8182bbd1bb503071d49</id>
<content type='text'>
used only as an ``alias()`` construct, it would not render using the
WITH keyword.  Also in 0.8.3, 0.7.11.
[ticket:2783]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
used only as an ``alias()`` construct, it would not render using the
WITH keyword.  Also in 0.8.3, 0.7.11.
[ticket:2783]
</pre>
</div>
</content>
</entry>
<entry>
<title>modernize this a bit</title>
<updated>2013-07-27T23:12:40+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2013-07-27T23:12:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=937c098d5a9b11f2707fc7bf57408cd98dae5c4e'/>
<id>937c098d5a9b11f2707fc7bf57408cd98dae5c4e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- this collection can be None on cleanup, so check for that</title>
<updated>2013-07-27T22:41:34+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2013-07-27T22:41:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=effad0a4e33d40940ca669f4f88c7cb9961db4da'/>
<id>effad0a4e33d40940ca669f4f88c7cb9961db4da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>last updated</title>
<updated>2013-07-27T22:38:40+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2013-07-27T22:38:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=20b7c037291f5fd90e1dabf2f07608a4f878aa3e'/>
<id>20b7c037291f5fd90e1dabf2f07608a4f878aa3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>try seeing if just clearing this ahead of time helps</title>
<updated>2013-07-27T22:32:38+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2013-07-27T22:30:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=59675be6732d45351c7126d6d8cdfee34ee92c05'/>
<id>59675be6732d45351c7126d6d8cdfee34ee92c05</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
