mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-15 05:46:41 +03:00
Removed infi.clickhouse_orm insert batching
This commit is contained in:
parent
de25af223a
commit
056aa0c5f1
|
@ -183,7 +183,7 @@ class ClickHouseModel(with_metaclass(ClickHouseModelMeta, InfiModel)):
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
if batch:
|
if batch:
|
||||||
cls.get_database(for_write=True).insert(batch)
|
cls.get_database(for_write=True).insert(batch, batch_size=len(batch))
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def sync_batch_from_storage(cls):
|
def sync_batch_from_storage(cls):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user