The section on first() method using a limit is no longer current. Peewee applies a LIMIT 1 to calls to first():
In [6]: Paste.select().first()
('SELECT "t1"."filename", "t1"."description", "t1"."content", "t1"."timestamp" FROM "paste" AS t1 LIMIT 1', [])
The section of the DeferredRelation syntax is no longer current, as Peewee supports the nice API you've created.
The section on passing an empty list to IN is also no longer current, and Peewee has adopted the same solution of injecting a false condition instead of the empty IN ().
The section on
first()
method using a limit is no longer current. Peewee applies aLIMIT 1
to calls tofirst()
:The section of the
DeferredRelation
syntax is no longer current, as Peewee supports the nice API you've created.The section on passing an empty list to
IN
is also no longer current, and Peewee has adopted the same solution of injecting afalse
condition instead of the emptyIN ()
.