Itai Shirav
7aef68ab14
TRIVIAL fix test that fails on whitespace diff
2019-01-28 10:06:13 +02:00
Kirill Potekhin
e7542dadbd
custom UUIDField deleted from tests and docs
2018-12-20 01:41:42 +03:00
Kirill Potekhin
434747894c
UUIDField added to docs
2018-12-20 01:37:15 +03:00
Kirill Potekhin
ed62cf5da7
tests for UUIDField
2018-12-20 01:36:46 +03:00
Kirill Potekhin
1388dd9e27
UUIDField added for ClickHouse UUID type
2018-12-20 01:35:13 +03:00
M1ha
d11f8b3b76
Docs updated
2018-12-19 10:10:03 +05:00
M1ha
6902de3b94
Fix fo conditions_as_sql method by review
2018-12-19 10:06:57 +05:00
M1ha
d912bf56d7
Merge branch 'qs-prewhere' into qs-with-totals
2018-12-17 10:30:01 +05:00
M1ha
d1e61dc420
Fixed invalid condtion joins in _filter_or_exclude (multiple_exclude_test)
2018-12-17 10:26:35 +05:00
M1ha
375316fbf3
Merge branch 'develop' into qs-prewhere
...
# Conflicts:
# src/infi/clickhouse_orm/query.py
2018-12-17 10:21:58 +05:00
Itai Shirav
9df82a44ec
Added verify_ssl_cert
parameter to database initializer
2018-12-14 11:13:23 +02:00
Itai Shirav
8c22c753a8
Use requests Session object for better performance
2018-12-14 11:06:57 +02:00
Itai Shirav
9884143291
Added tests for multiple exclude/filter calls
2018-12-14 09:44:52 +02:00
Itai Shirav
64d15cf3b6
Update docs
2018-12-14 08:34:40 +02:00
Itai Shirav
50f1fed187
Merge branch 'carrotquest-qs-final' into develop
2018-12-14 08:32:10 +02:00
Itai Shirav
2f54b3ca5a
Merge branch 'qs-final' of https://github.com/carrotquest/infi.clickhouse_orm into carrotquest-qs-final
2018-12-14 08:31:48 +02:00
Itai Shirav
5c78c315ee
Update test to verify issue #89
2018-12-14 08:29:08 +02:00
Itai Shirav
3620b5889d
Merge branch 'carrotquest-issue-89-fix' into develop
2018-12-14 08:22:22 +02:00
Itai Shirav
3478e59dd3
Merge branch 'issue-89-fix' of https://github.com/carrotquest/infi.clickhouse_orm into carrotquest-issue-89-fix
2018-12-14 08:21:29 +02:00
Itai Shirav
374f2dfe3e
Update docs
2018-12-14 08:20:43 +02:00
Itai Shirav
20ed85c864
Merge branch 'SUHAR1K-develop' into develop
2018-12-14 08:15:21 +02:00
M1ha
c56820fb6c
Fix https://github.com/Infinidat/infi.clickhouse_orm/issues/89
2018-12-13 15:40:08 +05:00
M1ha
5f4023f120
Added with_totals method
2018-12-12 15:33:35 +05:00
M1ha
0c92e2ac74
Simplified conditions, built by Q objects, if many conditions are joined in same mode
2018-12-11 18:04:08 +05:00
M1ha
12463c61b8
1) Fixed bugs
...
2) Edited the docs
3) Added test for prewhere
2018-12-11 17:25:54 +05:00
M1ha
f471da0fed
Added final() method to docs
2018-12-11 17:00:12 +05:00
M1ha
76dfdb6012
Fixed bug in final() method engine validation
2018-12-11 16:47:39 +05:00
M1ha
95055996ad
1) Further refactoring of as_sql():
...
merged very similar QuerySet and AggregateQuerySet methods
2) Fixed some bugs, caused by conditions_as_sql() parameters change
2018-12-08 11:57:08 +05:00
M1ha
3bc5f27cda
1) Unified QuerySet filter and exclude methods,
...
so both can load *q and **kwargs at the same time
and accept prewhere flag
2) Added ability to add prewhere clause
in QuerySet.filter() and QuerySet.exclude() methods
3) Added ability to check, if Q() object is empty (including bool check)
4) Refactored QuerySet.as_sql() method:
+ don't add GROUP BY and WHERE if it's not needed
+ ability to add PREWHERE condition
+ Common style of adding optional query parts
2018-12-08 11:40:05 +05:00
M1ha
7f38f8c654
Added fina() QuerySet method
...
Added tests for ite
Not tested in case of https://github.com/Infinidat/infi.clickhouse_orm/issues/93
2018-12-02 12:14:19 +05:00
P R
75f0ad9882
Update database.py
...
Added connection timeout parameter
2018-11-28 00:09:53 +07:00
Itai Shirav
41cf4c3a79
Finished Release v1.0.3
2018-10-24 16:35:14 +03:00
Itai Shirav
5acb4882a8
Releasing v1.0.3
2018-10-24 16:34:53 +03:00
Itai Shirav
bfceeb56e5
re-enable decimals tests
2018-10-15 09:00:57 +03:00
Itai Shirav
475492a65f
support decimal fields (fix test)
2018-10-14 12:26:45 +03:00
Itai Shirav
4f4ce697e4
Fix description of ALIAS fields
2018-10-14 09:51:04 +03:00
Itai Shirav
f24749112e
support decimal fields
2018-10-14 09:26:07 +03:00
Itai Shirav
658c7b42ee
Bug fix: wrong parentheses when building queries using Q objects
2018-10-13 19:49:12 +03:00
Itai Shirav
f2a731711d
Bug fix: QuerySet.count()
ignores slicing
2018-10-13 19:29:36 +03:00
Itai Shirav
928e41b82c
Finished Release v1.0.2
2018-08-21 16:01:35 +03:00
Itai Shirav
298927d631
Releasing v1.0.2
2018-08-21 16:01:10 +03:00
Itai Shirav
a0e602f0b2
Update changelog
2018-08-19 18:38:30 +03:00
Itai Shirav
cd2bd6b9e1
Merge branch 'kalombos-filtering_null' into develop
2018-08-19 18:36:51 +03:00
Itai Shirav
6416b25818
Merge branch 'filtering_null' of https://github.com/kalombos/infi.clickhouse_orm into kalombos-filtering_null
2018-08-19 18:36:08 +03:00
Itai Shirav
84fc270e0e
Replace the deprecated assertEquals with assertEqual
2018-08-19 18:22:22 +03:00
Itai Shirav
44d3dcee34
Added Database.does_table_exist
method
2018-08-19 18:20:17 +03:00
Itai Shirav
378cae88bc
fix test for python 3
2018-08-19 18:19:01 +03:00
Itai Shirav
acf2f7a189
Check for database existence, to allow delayed creation
2018-08-19 18:02:37 +03:00
Itai Shirav
32c77ab190
Include alias and materialized fields in queryset results
2018-08-19 16:18:15 +03:00
Itai Shirav
238fd11d6b
Finished Release v1.0.1
2018-08-13 08:46:10 +03:00