mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2024-11-27 19:23:43 +03:00
bbab55e6d6
# Conflicts: # src/infi/clickhouse_orm/models.py
141 lines
7.6 KiB
Markdown
141 lines
7.6 KiB
Markdown
# Table of Contents
|
|
|
|
* [Overview](index.md#overview)
|
|
* [Installation](index.md#installation)
|
|
|
|
* [Models and Databases](models_and_databases.md#models-and-databases)
|
|
* [Defining Models](models_and_databases.md#defining-models)
|
|
* [Default values](models_and_databases.md#default-values)
|
|
* [Null values](models_and_databases.md#null-values)
|
|
* [Materialized fields](models_and_databases.md#materialized-fields)
|
|
* [Alias fields](models_and_databases.md#alias-fields)
|
|
* [Table Names](models_and_databases.md#table-names)
|
|
* [Model Constraints](models_and_databases.md#model-constraints)
|
|
* [Data Skipping Indexes](models_and_databases.md#data-skipping-indexes)
|
|
* [Using Models](models_and_databases.md#using-models)
|
|
* [Inserting to the Database](models_and_databases.md#inserting-to-the-database)
|
|
* [Reading from the Database](models_and_databases.md#reading-from-the-database)
|
|
* [Reading without a Model](models_and_databases.md#reading-without-a-model)
|
|
* [SQL Placeholders](models_and_databases.md#sql-placeholders)
|
|
* [Counting](models_and_databases.md#counting)
|
|
* [Pagination](models_and_databases.md#pagination)
|
|
|
|
* [Querysets](querysets.md#querysets)
|
|
* [Filtering](querysets.md#filtering)
|
|
* [Using IN and NOT IN](querysets.md#using-in-and-not-in)
|
|
* [Specifying PREWHERE conditions](querysets.md#specifying-prewhere-conditions)
|
|
* [Old-style filter conditions](querysets.md#old-style-filter-conditions)
|
|
* [Counting and Checking Existence](querysets.md#counting-and-checking-existence)
|
|
* [Ordering](querysets.md#ordering)
|
|
* [Omitting Fields](querysets.md#omitting-fields)
|
|
* [Distinct](querysets.md#distinct)
|
|
* [Final](querysets.md#final)
|
|
* [Slicing](querysets.md#slicing)
|
|
* [Pagination](querysets.md#pagination)
|
|
* [Aggregation](querysets.md#aggregation)
|
|
* [Adding totals](querysets.md#adding-totals)
|
|
|
|
* [Field Options](field_options.md#field-options)
|
|
* [default](field_options.md#default)
|
|
* [alias / materialized](field_options.md#alias-/-materialized)
|
|
* [codec](field_options.md#codec)
|
|
* [readonly](field_options.md#readonly)
|
|
|
|
* [Field Types](field_types.md#field-types)
|
|
* [DateTimeField and Time Zones](field_types.md#datetimefield-and-time-zones)
|
|
* [Working with enum fields](field_types.md#working-with-enum-fields)
|
|
* [Working with array fields](field_types.md#working-with-array-fields)
|
|
* [Working with nullable fields](field_types.md#working-with-nullable-fields)
|
|
* [Working with LowCardinality fields](field_types.md#working-with-lowcardinality-fields)
|
|
* [Creating custom field types](field_types.md#creating-custom-field-types)
|
|
|
|
* [Table Engines](table_engines.md#table-engines)
|
|
* [Simple Engines](table_engines.md#simple-engines)
|
|
* [Engines in the MergeTree Family](table_engines.md#engines-in-the-mergetree-family)
|
|
* [Custom partitioning](table_engines.md#custom-partitioning)
|
|
* [Primary key](table_engines.md#primary-key)
|
|
* [Data Replication](table_engines.md#data-replication)
|
|
* [Buffer Engine](table_engines.md#buffer-engine)
|
|
* [Merge Engine](table_engines.md#merge-engine)
|
|
|
|
* [Schema Migrations](schema_migrations.md#schema-migrations)
|
|
* [Writing Migrations](schema_migrations.md#writing-migrations)
|
|
* [CreateTable](schema_migrations.md#createtable)
|
|
* [DropTable](schema_migrations.md#droptable)
|
|
* [AlterTable](schema_migrations.md#altertable)
|
|
* [AlterTableWithBuffer](schema_migrations.md#altertablewithbuffer)
|
|
* [AlterConstraints](schema_migrations.md#alterconstraints)
|
|
* [RunPython](schema_migrations.md#runpython)
|
|
* [RunSQL](schema_migrations.md#runsql)
|
|
* [Running Migrations](schema_migrations.md#running-migrations)
|
|
|
|
* [System Models](system_models.md#system-models)
|
|
* [Partitions and Parts](system_models.md#partitions-and-parts)
|
|
|
|
* [Contributing](contributing.md#contributing)
|
|
* [Building](contributing.md#building)
|
|
* [Tests](contributing.md#tests)
|
|
|
|
* [Class Reference](class_reference.md#class-reference)
|
|
* [infi.clickhouse_orm.database](class_reference.md#inficlickhouse_ormdatabase)
|
|
* [Database](class_reference.md#database)
|
|
* [DatabaseException](class_reference.md#databaseexception)
|
|
* [infi.clickhouse_orm.models](class_reference.md#inficlickhouse_ormmodels)
|
|
* [Model](class_reference.md#model)
|
|
* [BufferModel](class_reference.md#buffermodel)
|
|
* [MergeModel](class_reference.md#mergemodel)
|
|
* [DistributedModel](class_reference.md#distributedmodel)
|
|
* [Constraint](class_reference.md#constraint)
|
|
* [Index](class_reference.md#index)
|
|
* [infi.clickhouse_orm.fields](class_reference.md#inficlickhouse_ormfields)
|
|
* [ArrayField](class_reference.md#arrayfield)
|
|
* [BaseEnumField](class_reference.md#baseenumfield)
|
|
* [BaseFloatField](class_reference.md#basefloatfield)
|
|
* [BaseIntField](class_reference.md#baseintfield)
|
|
* [DateField](class_reference.md#datefield)
|
|
* [DateTimeField](class_reference.md#datetimefield)
|
|
* [DateTime64Field](class_reference.md#datetime64field)
|
|
* [Decimal128Field](class_reference.md#decimal128field)
|
|
* [Decimal32Field](class_reference.md#decimal32field)
|
|
* [Decimal64Field](class_reference.md#decimal64field)
|
|
* [DecimalField](class_reference.md#decimalfield)
|
|
* [Enum16Field](class_reference.md#enum16field)
|
|
* [Enum8Field](class_reference.md#enum8field)
|
|
* [Field](class_reference.md#field)
|
|
* [FixedStringField](class_reference.md#fixedstringfield)
|
|
* [Float32Field](class_reference.md#float32field)
|
|
* [Float64Field](class_reference.md#float64field)
|
|
* [IPv4Field](class_reference.md#ipv4field)
|
|
* [IPv6Field](class_reference.md#ipv6field)
|
|
* [Int16Field](class_reference.md#int16field)
|
|
* [Int32Field](class_reference.md#int32field)
|
|
* [Int64Field](class_reference.md#int64field)
|
|
* [Int8Field](class_reference.md#int8field)
|
|
* [LowCardinalityField](class_reference.md#lowcardinalityfield)
|
|
* [NullableField](class_reference.md#nullablefield)
|
|
* [StringField](class_reference.md#stringfield)
|
|
* [UInt16Field](class_reference.md#uint16field)
|
|
* [UInt32Field](class_reference.md#uint32field)
|
|
* [UInt64Field](class_reference.md#uint64field)
|
|
* [UInt8Field](class_reference.md#uint8field)
|
|
* [UUIDField](class_reference.md#uuidfield)
|
|
* [infi.clickhouse_orm.engines](class_reference.md#inficlickhouse_ormengines)
|
|
* [Engine](class_reference.md#engine)
|
|
* [TinyLog](class_reference.md#tinylog)
|
|
* [Log](class_reference.md#log)
|
|
* [Memory](class_reference.md#memory)
|
|
* [MergeTree](class_reference.md#mergetree)
|
|
* [Buffer](class_reference.md#buffer)
|
|
* [Merge](class_reference.md#merge)
|
|
* [Distributed](class_reference.md#distributed)
|
|
* [CollapsingMergeTree](class_reference.md#collapsingmergetree)
|
|
* [SummingMergeTree](class_reference.md#summingmergetree)
|
|
* [ReplacingMergeTree](class_reference.md#replacingmergetree)
|
|
* [infi.clickhouse_orm.query](class_reference.md#inficlickhouse_ormquery)
|
|
* [QuerySet](class_reference.md#queryset)
|
|
* [AggregateQuerySet](class_reference.md#aggregatequeryset)
|
|
* [Q](class_reference.md#q)
|
|
* [infi.clickhouse_orm.funcs](class_reference.md#inficlickhouse_ormfuncs)
|
|
* [F](class_reference.md#f)
|
|
|