testingtables

package
v0.0.0-...-3cd2f5a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(h *gpkg.Handle, tables ...Descriptioner) error

Types

type DB

type DB struct {
	*gpkg.Handle
	// contains filtered or unexported fields
}

func OpenTestDB

func OpenTestDB(filename string, descriptions ...Descriptioner) (*DB, error)

func (*DB) Filename

func (db *DB) Filename() string

type Description

type Description struct {
	Name      string
	GeomField string
	GType     gpkg.GeometryType
	Desc      string
	SRS       int32
	CreateSQL string
}

func (Description) Description

func (td Description) Description() string

func (Description) Field

func (td Description) Field() string

func (Description) M

func (td Description) M() gpkg.MaybeBool

func (Description) SQLCreate

func (td Description) SQLCreate() string

func (Description) ShortName

func (td Description) ShortName() string

func (Description) TableDescription

func (td Description) TableDescription() gpkg.TableDescription

func (Description) Z

func (td Description) Z() gpkg.MaybeBool

type Descriptioner

type Descriptioner interface {
	TableDescription() gpkg.TableDescription
	SQLCreate() string
}

Jump to

Keyboard shortcuts

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