HomeMogDBMogDB StackUqbar

Documentation:v1.1

Supported Versions:

Data Imported into a Time-Series Table Using Drivers

Sensor or monitoring data can be imported into a time-series table using COPY of Libpq, JDBC, ODBC, GO, and Python. One or more data records can be inserted. Before data write, you need to create a time-series table first or ensure that there is time-series tables in the system.

Precautions

  • The prepare and COPY of Libpq, JDBC, and GO are supported for data inserted into a time-series table.
  • The ODBC prepare is supported for data inserted into a time-series table.

Syntax Format

  • Libpq drivers

    PQprepare
    PQexecPrepared
    PQputCopyData
  • JDBC drivers

    java.sql.PreparedStatement
    CopyManager
  • ODBC drivers

    SQLPrepare
    SQLExecute
    --COPY is not supported.
  • GO drivers

    Prepare()
    Exec()

Examples

COPY

Copyright © 2011-2024 www.enmotech.com All rights reserved.