mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 03:12:13 +08:00

* disable sql expressions remove duckdb ref * Run `make update-workspace` --------- Co-authored-by: Scott Lepper <scott.lepper@gmail.com>
27 lines
505 B
Go
27 lines
505 B
Go
package sql
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/grafana/grafana-plugin-sdk-go/data"
|
|
)
|
|
|
|
type DB struct {
|
|
}
|
|
|
|
func (db *DB) TablesList(rawSQL string) ([]string, error) {
|
|
return nil, errors.New("not implemented")
|
|
}
|
|
|
|
func (db *DB) RunCommands(commands []string) (string, error) {
|
|
return "", errors.New("not implemented")
|
|
}
|
|
|
|
func (db *DB) QueryFramesInto(name string, query string, frames []*data.Frame, f *data.Frame) error {
|
|
return errors.New("not implemented")
|
|
}
|
|
|
|
func NewInMemoryDB() *DB {
|
|
return &DB{}
|
|
}
|