blob: d20944a38f9c4aa7ed36f5614214ece7dd59e7aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
namespace gipfl\InfluxDb;
interface InfluxDbConnection
{
public function ping($verbose = false);
public function getVersion();
public function listDatabases();
public function createDatabase($name);
public function getHealth();
/**
* @param string $dbName
* @param DataPoint[] $dataPoints
* @param string|null $precision ns,u,ms,s,m,h
* @return \React\Promise\Promise
*/
public function writeDataPoints($dbName, array $dataPoints, $precision = null);
}
|