skip to navigation
skip to content

311devs_peewee 2.10.1.2

a little orm

.. image:: http://media.charlesleifer.com/blog/photos/p1423749536.32.png

peewee
======
This is just `peewee-2.10.1 <https: github.com="" coleifer="" peewee="">` with some changes we need:

* Simple LEFT JOIN LATERAL. No need make subquery, just join to model.
.. code-block:: python

# make some compound select query
subq = ModelB.select(ModelB.id).where(ModelB.id > ModelA.id).limit(1)
# make query lateral joining subquery
ModelA.select(ModelA, subq.c.id).join(subq, join_type=JOIN.LATERAL)  
File Type Py Version Uploaded on Size
311devs_peewee-2.10.1.2.tar.gz (md5) Source 2017-05-30 481KB