gavin
15af545acf
chore: Update typing + noqa - flake8 failures
2022-05-23 18:55:55 +05:30
gavin
a20800ee2b
fix: mport module from line N shadowed by loop variable
...
Flake8 F402 reported by sider
2022-05-19 17:45:22 +05:30
gavin
db11af2a5c
feat(wip): Custom filters in db.query engine
...
* Added provision for semi-implemneted version
* Hard to fix it completely given it's broken on develop / desk
* Added TODO for adding nestedset related filters
2022-05-19 17:31:35 +05:30
gavin
72ad582b8a
fix(db.query): Casefold key to match operators
2022-05-18 16:59:53 +05:30
gavin
5ebaf42468
feat(db.query): Add support for timespan operator
2022-05-18 16:59:10 +05:30
gavin
7c77bedbf2
refactor: Simplify logic + Add typing hints
2022-05-18 16:57:54 +05:30
Aradhya Tripathi
7a0dc40693
feat!: Added support for IS in frappe qb ( #16877 )
...
Fixes #16869
Using 53148c3f90
2022-05-18 09:09:22 +00:00
saxenabhishek
36de21c059
feat: left join tables by default
2022-04-28 17:10:31 +05:30
saxenabhishek
3498445733
test: multiple_tables_in_filters
2022-04-28 17:10:31 +05:30
saxenabhishek
d39e6a7890
refactor: new query engine in get_count()
2022-04-28 17:10:31 +05:30
saxenabhishek
c9df86f9ef
feat: multi table queries
2022-04-28 17:10:31 +05:30
phot0n
6405b0510a
chore: fix linter
2022-04-20 17:56:48 +05:30
phot0n
da191390a5
fix: support for multiple order by in add_conditions
2022-04-20 17:56:48 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black ( #16453 )
...
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Gavin D'souza
69df3edba3
fix(query): Typo in OPERATOR_MAP
2022-03-31 16:24:03 +05:30
Gavin D'souza
10e4ed7c1e
fix(query): Add human friendly operator oprions
2022-03-31 13:38:32 +05:30
ChillarAnand
5ce3937d79
fix: Handle None filters in db query
2022-02-24 15:19:31 +05:30
Ankush Menat
e58c557e12
fix: correctly compute doctype name from table name
2022-01-24 11:18:21 +05:30
Aradhya
3243fb2083
fix: misc fixes
2021-12-06 13:04:27 +05:30
Aradhya
6a045f69f5
fix: fixed translate import
2021-11-24 16:55:45 +05:30
Aradhya
303edc8c04
refactor: added get_sql function to query class (encapsulation++)
2021-11-24 15:53:03 +05:30
Aradhya-Tripathi
b081496912
fix: added additional conditions when filters are None
2021-11-16 22:44:51 +05:30
Aradhya-Tripathi
23c3079433
fix: set_value now takes for_update for pypika objects
2021-10-22 23:43:47 +05:30
Aradhya-Tripathi
5ae95cd001
refactor: moved get_condition to query class
2021-09-20 22:58:41 +05:30
Aradhya-Tripathi
0a09f93889
refactor: moved non-instance specific functions out of the class
2021-09-20 22:55:32 +05:30
Aradhya-Tripathi
1c2e470792
fix: fixed strings and integer representation in build_conditions
2021-09-20 22:40:20 +05:30
Aradhya-Tripathi
a726c0f7e8
feat: Added support for list of lists
2021-09-20 22:35:06 +05:30
Aradhya-Tripathi
4e75489f4c
feat: added support for Criterion objects
2021-09-20 22:34:38 +05:30
Aradhya-Tripathi
ead9369586
fix(minor): fixed orderby in build_conditions
2021-09-20 22:25:18 +05:30
Aradhya-Tripathi
1af8f5289f
feat: added support for orderby
2021-09-20 22:22:32 +05:30
Aradhya-Tripathi
3fefc6a10d
fix: added delete without filters
2021-09-20 22:21:24 +05:30
Aradhya-Tripathi
a738f8ba7b
wip: adding support for sql functions in frappe ORM
2021-09-20 22:21:00 +05:30
Aradhya-Tripathi
1e6b30b711
refactor: shifted build_conditions to query module
2021-09-20 22:19:55 +05:30