Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Incorrect PRECISION_NANOSECONDS marker #162

@bendoh

Description

@bendoh

In https://github.com/influxdata/influxdb-php/blob/master/src/InfluxDB/Database.php#L35

    const PRECISION_NANOSECONDS = 'n';

Technically this is incorrect as the parameter should be 'ns' not 'n', but since the default is nanoseconds anyway, it's basically just a red herring that does nothing. See https://archive.docs.influxdata.com/influxdb/v1.2/tools/api/#write — The "fix", if any, is to just change precision=n to precision=ns, or drop precision altogether and just assume nanoseconds throughout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions