mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 03:12:59 +08:00

* Under feature flag `sqlExpressions` and is experimental * Excluded from arm32 * Will not work with the Query Service yet * Does not have limits in place yet * Does not working with alerting yet * Currently requires "prepare time series" Transform for time series viz --------- Co-authored-by: Sam Jewell <sam.jewell@grafana.com>
19 lines
395 B
Go
19 lines
395 B
Go
//go:build arm
|
|
|
|
package sql
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
|
|
"github.com/grafana/grafana-plugin-sdk-go/data"
|
|
)
|
|
|
|
type DB struct{}
|
|
|
|
// Stub out the QueryFrames method for ARM builds
|
|
// See github.com/dolthub/go-mysql-server/issues/2837
|
|
func (db *DB) QueryFrames(_ context.Context, _, _ string, _ []*data.Frame) (*data.Frame, error) {
|
|
return nil, fmt.Errorf("sql expressions not supported in arm")
|
|
}
|