influxDB connection

I have mysql DB connection for my project which has basic CRUD operation but I also want to add influxDB connection in the same project then how could I achieve that ?

Somehow your question falls into the same category as this one: Best way to create SaaS App

1 Like

Adonis does not support InfluxDB out of box (unless Influx works with some other driver like pg, mysql etc)

But you can create your own driver for it and set models to use it

Or you can just use Influx directly in controllers (or wherever you use it) exactly like you would use any other external library

I already have lucid connection but for influxDb how do I connect ?

Have you read McSneaky’s answer ?

1 Like