|
|
3f264d974b
|
wip - remove literal binds
|
2022-01-05 18:19:14 +01:00 |
|
|
|
b637fc0774
|
remove .vscode settings, re-dump orjson choices to fix choices, move mypy config into pyproject.toml
|
2021-10-08 20:14:03 +02:00 |
|
|
|
b2541bed1e
|
Added poetry integration.
Description:
* Fixed github actions;
* Removed requirements.txt;
* Fixed CONTRIBUTING.md;
* Fixed black and flake8.
Signed-off-by: Pavel <win10@list.ru>
|
2021-10-08 16:56:59 +04:00 |
|
|
|
67904980ce
|
add docs
|
2021-03-15 18:45:46 +01:00 |
|
|
|
03e6ac6c02
|
add release docs, change tests
|
2021-03-15 13:00:07 +01:00 |
|
|
|
0ae340100e
|
ugly but working - to refactor
|
2021-03-11 17:53:13 +01:00 |
|
|
|
d388b9f745
|
fix everything?
|
2021-03-07 17:48:26 +01:00 |
|
|
|
d067c03130
|
try with min and max filters depending on direction
|
2021-03-07 17:37:32 +01:00 |
|
|
|
9c46383130
|
another try
|
2021-03-07 16:53:38 +01:00 |
|
|
|
037fc418a4
|
back to group by
|
2021-03-07 16:41:12 +01:00 |
|
|
|
30c8e725e6
|
remove other columns
|
2021-03-07 16:15:08 +01:00 |
|
|
|
7d0e74e42b
|
remove groupby
|
2021-03-07 16:11:19 +01:00 |
|
|
|
c1eebf5096
|
another try - join with distinct from subquery
|
2021-03-07 16:07:22 +01:00 |
|
|
|
b4350d11f1
|
check limit as subquery
|
2021-03-07 15:47:02 +01:00 |
|
|
|
e8329c0dcd
|
check orders
|
2021-03-07 14:10:35 +01:00 |
|
|
|
4a66054987
|
change distinct to group by in limit action subquery
|
2021-03-07 13:40:45 +01:00 |
|
|
|
79ad69e355
|
check complex prefixes in groups, refactor limit queries, finish docstrings, refactors and cleanup in long methods
|
2021-03-07 12:50:40 +01:00 |
|
|
|
a99000d2c0
|
add possibility to exclude/include fields (refactor to excludableitems), fix for through model only on related side of the relation, fix for exclude of through model related models
|
2021-03-01 19:26:33 +01:00 |
|
|
|
fd38ae2a40
|
wip with m2m fields
|
2021-02-28 08:19:02 +01:00 |
|
|
|
ad9d065c6d
|
start to refactor fields and eclude_fields into ExcludableItems to simplify access
|
2021-02-26 17:47:52 +01:00 |
|
|
|
503f589fa7
|
refactor order bys into OrderQuery, add ordering to through models too
|
2021-02-25 17:28:05 +01:00 |
|
|
|
a2834666fc
|
extract filters into filter actions and delay their processing time to allow for registration of complex relations, refactoring and optimization, now one join with relations with same aliases are possible
|
2021-01-21 15:55:23 +01:00 |
|
|
|
d6e2c85b79
|
refactors in join to register complex aliases on duplicate, to do is doing the same in filter clauses
|
2021-01-17 12:29:21 +01:00 |
|
|
|
28cc847b57
|
Refactor join, fix owner on added fks on through model, fix coverage, add .coveragerc settings.
|
2021-01-16 12:02:11 +01:00 |
|
|
|
0fe95b0c7b
|
Refactor in join in order to make possibility for nested duplicated relations (and it was a mess :D)
|
2021-01-15 17:05:23 +01:00 |
|
|
|
e42bf110cd
|
add more test with inheritance, fix ordering of subquery in first and get, regenerate api docs with only documented items
|
2021-01-06 14:35:18 +01:00 |
|
|
|
eec17e2f78
|
add most of the docstrings
|
2021-01-04 14:43:14 +01:00 |
|
|
|
c8aad2385c
|
change limit/offset with select related to be applied on a subquery and limit only main model query
|
2020-12-21 18:42:17 +01:00 |
|
|
|
1242e5d600
|
allow passing a dict and set to fields and exclude_fields, store it as dict
|
2020-11-11 19:00:03 +01:00 |
|
|
|
9350b929aa
|
black, add additional tests with combined fields and exclude_fields, add aliases for column names to tests with fields and exclude_fields
|
2020-11-11 10:10:30 +01:00 |
|
|
|
eafc6862f4
|
add exclude_fields queryset method
|
2020-11-10 16:54:24 +01:00 |
|
|
|
62d3388a97
|
cleaning and linting
|
2020-11-09 13:01:02 +01:00 |
|
|
|
ca38f7853e
|
working order by, refactor models merging, refactors ordering into dict
|
2020-11-09 12:45:32 +01:00 |
|
|
|
9f4bde595f
|
working for simple models, not including related models yet
|
2020-11-08 09:44:30 +01:00 |
|
|
|
64fd9f3cce
|
initial working solution for aliases/different db column names in basic operations
|
2020-10-14 18:08:36 +02:00 |
|
|
|
287b970a09
|
add fields method limiting the models columns fetched from db
|
2020-10-05 09:40:41 +02:00 |
|
|
|
d9aa269f7a
|
finish mypy checks add reqs and linting
|
2020-09-29 17:06:41 +02:00 |
|
|
|
3caa87057e
|
added mypy checks and some typehint changes to conform
|
2020-09-29 14:05:08 +02:00 |
|
|
|
1a4be03131
|
add exclude method on QuerySet and fix missing default values on creation
|
2020-09-17 18:03:29 +02:00 |
|
|
|
a7d1b65712
|
extracted join
|
2020-09-17 15:49:39 +02:00 |
|
|
|
12487e1089
|
some refactors
|
2020-09-17 15:21:11 +02:00 |
|
|
|
a5d9916575
|
refactor queries into separate files
|
2020-09-16 11:51:44 +02:00 |
|
|
|
df9b5d27da
|
some refactors and cleanup
|
2020-09-15 13:33:14 +02:00 |
|
|
|
4674f625df
|
working basic many to many relationships
|
2020-09-14 17:13:27 +02:00 |
|
|
|
279d3966b1
|
liniting and missin type annots
|
2020-08-27 11:04:49 +02:00 |
|
|
|
c5389023b8
|
add fixes for fastapi model clones, add functionality to add and remove models to relation, add relation proxy, fix all tests, adding values also to pydantic model __dict__some refactors
|
2020-08-26 22:24:25 +02:00 |
|
|
|
a9f88e8f8f
|
rename alias manager
|
2020-08-26 14:33:46 +02:00 |
|
|
|
63a24e7d36
|
remove auto related parsing, switch to relations on instance instead of relationship manager
|
2020-08-24 11:18:41 +02:00 |
|
|
|
9bbf6f93ed
|
rename relationshipmanager
|
2020-08-23 18:32:21 +02:00 |
|
|
|
0f72bf36eb
|
refactor and cleanup
|
2020-08-23 17:50:40 +02:00 |
|