Up to [cvs.NetBSD.org] / pkgsrc / databases / py-peewee
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pkgsrc-2019Q2-base
Revision 1.58 / (download) - annotate - [select for diffs], Mon Jun 10 07:36:14 2019 UTC (5 months, 4 weeks ago) by adam
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (unified)
py-peewee: updated to 3.9.6 3.9.6 Support nesting the Database instance as a context-manager. The outermost block will handle opening and closing the connection along with wrapping everything in a transaction. Nested blocks will use savepoints. Add new session_start(), session_commit() and session_rollback() interfaces to the Database object to support using transactional controls in situations where a context-manager or decorator is awkward. Fix error that would arise when attempting to do an empty bulk-insert. Set isolation_level=None in SQLite connection constructor rather than afterwards using the setter. Add create_table() method to Select query to implement CREATE TABLE AS. Cleanup some declarations in the Sqlite C extension. Add new example showing how to implement Reddit's ranking algorithm in SQL.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.