gbif

package
v0.0.0-...-6d303d2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2014 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package gbif implements a jdh driver for gbif.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

DB implements the GBIF connection jdh DB interface.

func (*DB) Close

func (db *DB) Close() error

Close closes the database.

func (*DB) Driver

func (db *DB) Driver() string

Driver returns the driver name.

func (*DB) Exec

func (db *DB) Exec(query jdh.Query, table jdh.Table, param interface{}) (string, error)

Executable query can not be done in gbif: it is a read only database.

func (*DB) Get

func (db *DB) Get(table jdh.Table, id string) (jdh.Scanner, error)

Get returns an element data from gbif database.

func (*DB) List

func (db *DB) List(table jdh.Table, args *jdh.Values) (jdh.ListScanner, error)

List executes a query that returns a list.

Jump to

Keyboard shortcuts

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