Commit Graph

21 Commits

Author SHA1 Message Date
M1ha
5cb43ca6cd Converted all typing hints to python 3 style 2020-02-07 12:19:53 +05:00
M1ha
85a785eb59 Opportunity to pass database data as strings without formatting 2019-07-15 16:56:16 +05:00
M1ha
fafcbe4c93 Fixed python 3.7 compatibility issues 2019-06-26 12:24:46 +05:00
M1ha
10fae9220c Added database parameters from infi.clickhouse_orm 1.0.4 2019-03-25 10:17:13 +05:00
M1ha
2798cbb602 Fixed bug with batched insert_tuple 2019-02-15 17:42:04 +05:00
M1ha
ab2fe24f74 Added request data logging in debug mode 2019-02-15 15:52:16 +05:00
M1ha
4249b0e2b9 Measure time for inserting tuples 2019-02-05 15:17:37 +05:00
M1ha
ef6fc46c5c Measure time for inserting tuples 2019-02-05 15:13:15 +05:00
M1ha
a205b451a0 Chaned statsd key for inserted tuples 2019-02-04 12:52:21 +05:00
M1ha
056f2582d4 More optimization and fixed some bugs 2019-02-03 23:05:54 +05:00
M1ha
30b4b0568d Fixed sync test bugs 2019-02-03 21:05:01 +05:00
M1ha
16dce3d047 Changed library to using generators instead of lists
and namedtuple instead of infi Model instance, for been more efficient.
Problems with sync_test
2019-02-03 14:24:21 +05:00
M1ha
b03b829ed9 Speed up get_final_versions 2019-01-24 17:47:52 +05:00
M1ha
cac5fe9d52 Removed monitoring, as it has strange avg results for all queries
and models
2019-01-23 10:40:37 +05:00
M1ha
c934ff4df5 Bugfix 2019-01-23 10:34:27 +05:00
M1ha
882930a3a8 Added query time statsd timer 2019-01-23 10:32:11 +05:00
M1ha
d830b74bcb Created separate from infi MigrationHistory in order to:
1) inherit it from this library models
2) Use some extra functionality
2018-12-18 18:28:23 +05:00
M1ha
66ec7dd5db Fixed error in migrate. Wrote tests 2018-12-18 17:33:34 +05:00
M1ha
abe0ae45c5 Added QuerySet that determines db with router help.
Added using(), create(), bulk_create(), all() methods to QuerySet
2018-11-28 15:30:19 +05:00
M1ha
68914a20f0 Infi https://github.com/Infinidat/infi.clickhouse_orm/issues/89 fix
some refactoring
2018-11-23 11:04:31 +05:00
M1ha
4480c1ae1d Added migration system. 2018-11-16 13:14:40 +05:00