mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2025-07-25 15:29:50 +03:00
Added final() method to docs
This commit is contained in:
parent
76dfdb6012
commit
f471da0fed
|
@ -117,6 +117,17 @@ Adds a DISTINCT clause to the query, meaning that any duplicate rows in the resu
|
||||||
>>> Person.objects_in(database).only('first_name').distinct().count()
|
>>> Person.objects_in(database).only('first_name').distinct().count()
|
||||||
94
|
94
|
||||||
|
|
||||||
|
Final
|
||||||
|
--------
|
||||||
|
|
||||||
|
This method can be used only with CollapsingMergeTree engine.
|
||||||
|
Adds a FINAL modifier to the query, meaning data is selected fully "collapsed" by sign field.
|
||||||
|
|
||||||
|
>>> Person.objects_in(database).count()
|
||||||
|
100
|
||||||
|
>>> Person.objects_in(database).final().count()
|
||||||
|
94
|
||||||
|
|
||||||
Slicing
|
Slicing
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user