# Functions

Append appends the row to the dataframe, using the converters to convert the scanned value into a value that can be put into a data.Frame.
DefaultConverterFunc assumes that the scanned value, in, is already a type that can be put into a dataframe.
ErrorFrameFromQuery returns a error frames with empty data and meta fields.
FrameFromRows returns a new Frame populated with the data from rows.
GetQuery returns a Query object given a backend.DataQuery using json.Unmarshal.
Interpolate returns an interpolated query string given a backend.DataQuery.
MakeScanRow creates a new scan row given the column types and names.
NewDefaultConverter creates a Converter that assumes that the value is scannable into a String, and placed into the dataframe as a nullable string.
NewFrame creates a new data.Frame with empty fields given the columns and converters.
No description provided by the author
NewScanRow creates a new ScanRow with a length of `length`.
resample resample provided time-series data.Frame.
StringFrameConverter creates a FrameConverter from a StringConverter.
ToConverters creates a slice of Converters from a slice of StringConverters.

# Constants

FormatOptionLogs sets the preferred visualization to logs.
FormatOptionMulti formats the query results as a timeseries using "LongToMulti".
FormatOptionTable formats the query results as a table using "LongToWide".
FormatOptionTimeSeries formats the query results as a timeseries using "WideToLong".
FormatOptionsTrace sets the preferred visualization to trace.
No description provided by the author

# Variables

No description provided by the author
ErrorBadArgumentCount is returned from macros when the wrong number of arguments were provided.
No description provided by the author
IntOrFloatToNullableFloat64 returns an error if the input is not a variation of int or float.
NullBoolConverter creates a *bool using the scan type of `sql.NullBool`.
NullByteConverter creates a *string using the scan type of `sql.NullByte`.
NullConverters is a map of data type names (from reflect.TypeOf(...).String()) to converters Converters supplied here are used as defaults for fields that do not have a supplied Converter.
NullDecimalConverter creates a *float64 using the scan type of `sql.NullFloat64`.
NullInt16Converter creates a *int16 using the scan type of `sql.NullInt16`.
NullInt32Converter creates a *int32 using the scan type of `sql.NullInt32`.
NullInt64Converter creates a *int64 using the scan type of `sql.NullInt64`.
NullStringConverter creates a *string using the scan type of `sql.NullString`.
NullTimeConverter creates a *time.time using the scan type of `sql.NullTime`.
TimeToNullableTime returns an error if the input is not a time.

# Structs

Converter is used to convert known types returned in sql.Row to a type usable in a dataframe.
No description provided by the author
FrameConverter defines how to convert the scanned value into a value that can be put into a dataframe (OutputFieldType).
Query is the model that represents the query that users submit from the panel/queryeditor.
No description provided by the author
No description provided by the author
A ScanRow is a container for SQL metadata for a single row.
StringConverter can be used to store types not supported by a Frame into a *string.
StringFieldReplacer is used to replace a *string Field in a Frame.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

FormatQueryOption defines how the user has chosen to represent the data.
MacroFunc defines a signature for applying a query macro Query macro implementations are defined by users/consumers of this package.
Macros is a map of macro name to MacroFunc.