mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 21:22:44 +08:00
23 lines
399 B
Go
23 lines
399 B
Go
package sql
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/grafana/grafana-plugin-sdk-go/data"
|
|
)
|
|
|
|
type DB struct {
|
|
}
|
|
|
|
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{}
|
|
}
|