Corrected links and code

This commit is contained in:
M1ha 2017-02-08 11:05:13 +05:00
parent 5e63e813e0
commit 907cff9704

View File

@ -181,15 +181,15 @@ inconsistencies in the pagination (such as an instance that appears on two diffe
System models
-------------
`Clickhouse docs <https://clickhouse.yandex/reference_en.html#System tables>`
`Clickhouse docs <https://clickhouse.yandex/reference_en.html#System tables>`_.
System models are read only models for implementing part of the system's functionality,
and for providing access to information about how the system is working.
Usage example:
Usage example::
>>>> from infi.clickhouse_orm import system_models
>>>> print(system_models.SystemPart.all())
>>>> print(system_models.SystemPart.get(Database()))
Currently the following system models are supported:
@ -203,7 +203,7 @@ SystemPart system.parts Gives methods to work with partitions. See
Partitions and parts
--------------------
`ClickHouse docs <https://clickhouse.yandex/reference_en.html#Manipulations with partitions and parts>`
`ClickHouse docs <https://clickhouse.yandex/reference_en.html#Manipulations with partitions and parts>`_.
A partition in a table is data for a single calendar month. Table "system.parts" contains information about each part.
@ -303,7 +303,7 @@ Working with materialized and alias fields
ClickHouse provides an opportunity to create MATERIALIZED and ALIAS Fields.
See documentation `here <https://clickhouse.yandex/reference_en.html#Default values>`.
See documentation `here <https://clickhouse.yandex/reference_en.html#Default values>`_.
Both field types can't be inserted into database directly.
These field values are ignored, when using database.insert() method.