sqlite3orm

package module
v0.0.0-...-cac5f26 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2014 License: MIT Imports: 8 Imported by: 0

README

sqlite3orm

A very basic SQLite ORM for Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBTime

type DBTime struct {
	Time time.Time
}

func (*DBTime) Scan

func (t *DBTime) Scan(src interface{}) error

func (DBTime) String

func (t DBTime) String() string

func (DBTime) Value

func (t DBTime) Value() (driver.Value, error)

type DBWrapper

type DBWrapper struct {
	SqlDB *sql.DB
	// contains filtered or unexported fields
}

func (DBWrapper) CreateTable

func (w DBWrapper) CreateTable(instance interface{}) error

func (DBWrapper) Insert

func (w DBWrapper) Insert(instance interface{}) error

func (DBWrapper) Select

func (w DBWrapper) Select(instance interface{}, where string) error

func (DBWrapper) SelectFirst

func (w DBWrapper) SelectFirst(instance interface{}, where string) error

Jump to

Keyboard shortcuts

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