Commit graph

20 commits

Author SHA1 Message Date
Sagar Vora
20220ef894
fix: avoid one time setup (#31650) 2025-03-12 12:44:19 +05:30
Faris Ansari
726fcfdb79 refactor: qb.engine
- simplify
- qb.engine.get_query -> qb.get_query
- qb.engine.build_conditions -> qb.get_query
2022-12-25 23:19:11 +05:30
Aradhya
7732accded feat: Attached Engine object to qb & added dynamic type hints 2022-06-28 19:43:23 +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
saxenabhishek
9121014f48 fix: ignore copy of getattr methods 2022-01-11 16:53:42 +05:30
saxenabhishek
ece1564e4d fix: replace the field method with a column 2022-01-11 15:32:07 +05:30
saxenabhishek
6120b4b3c1 fix: extend named parameters to frappe.qb.function 2021-12-06 14:32:55 +05:30
saxenabhishek
9fdacedfc8 feat: sanitise frappe.qb 2021-12-06 14:29:57 +05:30
Aradhya
e3bdf11006 refactor: moved aggregation functions to Query Builder 2021-11-26 14:19:59 +05:30
Gavin D'souza
2622f3398e style: Black-ish queries
* feat(minor): Added DocType to frappe.query_builder namespace
2021-10-11 19:00:52 +05:30
Gavin D'souza
6973a34828 Merge branch 'develop' into compare-columns-db_query 2021-09-16 11:40:33 +05:30
Gavin D'souza
ad5783b1c3 fix: Use PyPika's Column
also, Discard Data class. Since we're adding support for PyPika objects
to natively interact with the Frappe ORM, this PR brings us closer
toward that direction.
2021-09-16 11:38:23 +05:30
Gavin D'souza
53f92e5b5c refactor: Use Query Builder instead of raw queries 2021-09-14 14:50:26 +05:30
Gavin D'souza
9a8e1413cb Merge branch 'develop' into compare-columns-db_query 2021-08-13 11:53:41 +05:30
Gavin D'souza
0839004ff3 feat: Execute queries directly in frappe.qb 2021-08-03 13:10:19 +05:30
Gavin D'souza
77895bbcfc feat: Support for Column comparison in DatabaseQuery 2021-08-03 12:43:01 +05:30
saxenabhishek
7671e78487 style: minor fixes and improvements 2021-07-30 11:29:41 +05:30
saxenabhishek
ce10e36725 refactor: move all pypika functions to a module 2021-07-30 11:00:35 +05:30
saxenabhishek
dd36b2a528 refactor: move to get_query_builder 2021-07-30 11:00:35 +05:30
saxenabhishek
eb9d2bcd64 feat: Query builder 2021-07-30 11:00:34 +05:30