![JAR search and dependency download from the Maven repository](/logo.png)
com.paulgoldbaum.influxdbclient.DatabaseManagement.scala Maven / Gradle / Ivy
The newest version!
package com.paulgoldbaum.influxdbclient
protected[influxdbclient] trait DatabaseManagement { self: Database =>
def create() =
exec("CREATE DATABASE \"" + databaseName + "\"")
def drop() =
exec("DROP DATABASE \"" + databaseName + "\"")
def exists() =
showDatabases().map(_.contains(databaseName))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy