airtablesql

package
v0.0.0-...-08c3e5d Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTable

func NewTable(base *airtable.Base, ts *airtable.TableSchema, provider *Provider) sql.Table

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider(client *airtable.Client) (*Provider, error)

func (*Provider) AllDatabases

func (p *Provider) AllDatabases(ctx *sql.Context) []sql.Database

AllDatabases returns a slice of all Databases in the provider.

func (*Provider) Database

func (p *Provider) Database(ctx *sql.Context, name string) (sql.Database, error)

Database gets a Database from the provider.

func (*Provider) HasDatabase

func (p *Provider) HasDatabase(ctx *sql.Context, name string) bool

HasDatabase checks if the Database exists in the provider.

Jump to

Keyboard shortcuts

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