Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeStamp in nanosecond format #61

Open
tomwimmenhove opened this issue May 8, 2020 · 1 comment
Open

TimeStamp in nanosecond format #61

tomwimmenhove opened this issue May 8, 2020 · 1 comment

Comments

@tomwimmenhove
Copy link

It would be nice to be able to get the timestamp of a row in the nanosecond format, so that we can use it in subsequent queries.

@MikaelGRA
Copy link
Owner

MikaelGRA commented May 16, 2020

The plugin does support the use of custom classes as timestamps. But you would have to implement such a class yourself since the DateTime struct from .NET does not support this level of precision.

You can register additional timestamp classes through this property on the InfluxClient:

https://github.com/MikaelGRA/InfluxDB.Client/blob/master/src/Vibrant.InfluxDB.Client/InfluxClient.cs#L119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants