a76fccbb75
commit 52978144184ecdfea4fca8716c8aa194f42bf965 Author: Scott Lepper <scott.lepper@gmail.com> Date: Mon Sep 30 11:24:19 2024 -0400 remove sql expressions 11.0.x
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{}
|
|
}
|