Documentation ¶
Index ¶
- func Init(h *gpkg.Handle, tables ...Descriptioner) error
- type DB
- type Description
- func (td Description) Description() string
- func (td Description) Field() string
- func (td Description) M() gpkg.MaybeBool
- func (td Description) SQLCreate() string
- func (td Description) ShortName() string
- func (td Description) TableDescription() gpkg.TableDescription
- func (td Description) Z() gpkg.MaybeBool
- type Descriptioner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DB ¶
func OpenTestDB ¶
func OpenTestDB(filename string, descriptions ...Descriptioner) (*DB, error)
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 }
Click to show internal directories.
Click to hide internal directories.