Skip to content

Commit 31e69cb

Browse files
authored
docs: add link about Nanosecond precision to usage page (#315)
1 parent 37d3598 commit 31e69cb

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ InfluxDB 2.0 client features
7878
- `How to efficiently import large dataset`_
7979
- `Efficiency write data from IOT sensor`_
8080
- `How to use Jupyter + Pandas + InfluxDB 2`_
81-
- Advanced Usage
81+
- `Advanced Usage`_
8282
- `Gzip support`_
8383
- `Proxy configuration`_
84+
- `Nanosecond precision`_
8485
- `Delete data`_
8586

8687
Installation
@@ -1163,6 +1164,7 @@ For more info about how configure HTTP retry see details in `urllib3 documentati
11631164
11641165
Nanosecond precision
11651166
^^^^^^^^^^^^^^^^^^^^
1167+
.. marker-nanosecond-start
11661168
11671169
The Python's `datetime <https://docs.python.org/3/library/datetime.html>`_ doesn't support precision with nanoseconds
11681170
so the library during writes and queries ignores everything after microseconds.
@@ -1226,6 +1228,7 @@ that is replacement for python ``datetime.datetime`` object and also you should
12261228
"""
12271229
client.close()
12281230
1231+
.. marker-nanosecond-end
12291232
12301233
Local tests
12311234
-----------

docs/usage.rst

+6
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ Proxy configuration
4040
:start-after: marker-proxy-start
4141
:end-before: marker-proxy-end
4242

43+
Nanosecond precision
44+
^^^^^^^^^^^^^^^^^^^^
45+
.. include:: ../README.rst
46+
:start-after: marker-nanosecond-start
47+
:end-before: marker-nanosecond-end
48+
4349
Debugging
4450
^^^^^^^^^
4551

0 commit comments

Comments
 (0)