File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,14 @@ project since the first release, with the latest changes at the top.
6
6
This project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
8
9
+ ## [ Unreleased] ( https://github.com/seapagan/sqliter-py/tree/HEAD )
10
+
11
+ ** New Features**
12
+
13
+ - Add some useful properties to the SqliterDB class instance ([ #48 ] ( https://github.com/seapagan/sqliter-py/pull/48 ) ) by [ seapagan] ( https://github.com/seapagan )
14
+
15
+ [ ` Full Changelog ` ] ( https://github.com/seapagan/sqliter-py/compare/0.6.0...HEAD ) | [ ` Diff ` ] ( https://github.com/seapagan/sqliter-py/compare/0.6.0...HEAD.diff ) | [ ` Patch ` ] ( https://github.com/seapagan/sqliter-py/compare/0.6.0...HEAD.patch )
16
+
9
17
## [ 0.6.0] ( https://github.com/seapagan/sqliter-py/releases/tag/0.6.0 ) (October 12, 2024)
10
18
11
19
** New Features**
Original file line number Diff line number Diff line change 1
1
# TODO
2
2
3
+ Items marked with :fire : are high priority.
4
+
3
5
## General Plans and Ideas
4
6
5
- - add (optional) ` created_at ` and ` updated_at ` fields to the BaseDBModel class
7
+ - : fire : add (optional) ` created_at ` and ` updated_at ` fields to the BaseDBModel class
6
8
which will be automatically updated when a record is created or updated.
7
9
- add an 'execute' method to the main class to allow executing arbitrary SQL
8
10
queries which can be chained to the 'find_first' etc methods or just used
12
14
addition to the ` delete ` method in the main class which deletes a single
13
15
record based on the primary key.
14
16
- add a ` rollback ` method to the main class to allow manual rollbacks.
15
- - allow adding foreign keys and relationships to each table.
17
+ - : fire : allow adding foreign keys and relationships to each table.
16
18
- add a migration system to allow updating the database schema without losing
17
19
data.
18
20
- add more tests where 'auto_commit' is set to False to ensure that commit is
19
21
not called automatically.
20
- - support structures like, ` list ` , ` dict ` , ` set ` etc. in the model. These will
22
+ - : fire : support structures like, ` list ` , ` dict ` , ` set ` etc. in the model. These will
21
23
need to be ` pickled ` first then stored as a BLOB in the database . Also
22
24
support ` date ` which can be stored as a Unix timestamp in an integer field.
23
25
You can’t perform that action at this time.
0 commit comments