ninow

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2014 License: MIT Imports: 5 Imported by: 0

README

Ninow Build Status

a magical ORM for SQL databases

Documentation

http://godoc.org/github.com/oguzbilgic/ninow

License

The MIT License (MIT)

Documentation

Overview

Package ninow implements a magical ORM for SQL databases

Package ninow implements a magical sql database ORM.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Table

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

func TableFor

func TableFor(row interface{}, db *sql.DB) *Table

func (*Table) Delete

func (t *Table) Delete(id int) error

func (*Table) Insert

func (t *Table) Insert(row interface{}) (int, error)

func (*Table) Select

func (t *Table) Select(id int) (interface{}, error)

func (*Table) SelectAllBy

func (t *Table) SelectAllBy(column, value string) (interface{}, error)

func (*Table) Update

func (t *Table) Update(row interface{}) error

Jump to

Keyboard shortcuts

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