prql

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompileMessage

type CompileMessage struct {
	ErrorCode rune
	// Annoted code containing the error and the hints
	Display string
	// The location of the error
	LocationError SourceLocationError
}

func ToSQL

func ToSQL(prqlQuery string) (string, []CompileMessage)

Calls the prqlc CLI to compile the PRQL query to SQL

type SourceLocationError

type SourceLocationError struct {
	StartLine   int
	StartColumn int
	EndLine     int
	EndColumn   int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL