# NOT RUN {
db <- DBI::dbConnect(AzureKusto(),
server="https://mycluster.location.kusto.windows.net", database="database"...)
DBI::dbGetQuery(db, "iris | count")
DBI::dbListFields(db, "iris")
# does the same thing as dbGetQuery, but returns an AzureKustoResult object
res <- DBI::dbSendQuery(db, "iris | count")
DBI::dbFetch(res)
DBI::dbColumnInfo(res)
DBI::dbExecute(db, ".show tables")
# does the same thing as dbExecute, but returns an AzureKustoResult object
res <- DBI::dbSendStatement(db, ".show tables")
DBI::dbFetch(res)
# }
Run the code above in your browser using DataLab