model

package
v0.0.0-...-c39fa9a Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2015 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

GENERATED BY dbtogo (github.com/kdar/dbtogo); DO NOT EDIT ---args: /home/h4ck3rm1k3/goroot_sql/bin/kdb sqlite3 taginfo-projects.db

Index

Constants

This section is empty.

Variables

View Source
var InsertStmts = map[string]string{
	"Source":        "INSERT INTO Source (Id,Name,Updatestart,Updateend,Datauntil) VALUES (?, ?, ?, ?, ?)",
	"Stats":         "INSERT INTO Stats (Key,Value) VALUES (?, ?)",
	"Projects":      "INSERT INTO Projects (Id,Jsonurl,Lastmodified,Fetchdate,Fetchstatus,Fetchjson,Status,Errorlog,Dataformat,Dataupdated,Dataurl,Name,Description,Projecturl,Docurl,Iconurl,Contactname,Contactemail,Keywords) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
	"Projecttags":   "INSERT INTO Projecttags (Projectid,Key,Value,Onnode,Onway,Onrelation,Onarea,Description,Docurl,Iconurl,Keywords) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
	"Projectcounts": "INSERT INTO Projectcounts (Key,Value,Num) VALUES (?, ?, ?)",
	"Sqlitestat1":   "INSERT INTO Sqlitestat1 (Tbl,Idx,Stat) VALUES (?, ?, ?)",
}
View Source
var SelectStmts = map[string]string{
	"Source":        "SELECT Id,Name,Updatestart,Updateend,Datauntil FROM Source",
	"Stats":         "SELECT Key,Value FROM Stats",
	"Projects":      "SELECT Id,Jsonurl,Lastmodified,Fetchdate,Fetchstatus,Fetchjson,Status,Errorlog,Dataformat,Dataupdated,Dataurl,Name,Description,Projecturl,Docurl,Iconurl,Contactname,Contactemail,Keywords FROM Projects",
	"Projecttags":   "SELECT Projectid,Key,Value,Onnode,Onway,Onrelation,Onarea,Description,Docurl,Iconurl,Keywords FROM Projecttags",
	"Projectcounts": "SELECT Key,Value,Num FROM Projectcounts",
	"Sqlitestat1":   "SELECT Tbl,Idx,Stat FROM Sqlitestat1",
}

Functions

This section is empty.

Types

type Arger

type Arger interface {
	Args() []interface{}
}

type Projectcounts

type Projectcounts struct {
	Key   string
	Value string
	Num   int64
}

func (*Projectcounts) Args

func (t *Projectcounts) Args() []interface{}

type Projects

type Projects struct {
	Id           string
	Jsonurl      string
	Lastmodified float64
	Fetchdate    float64
	Fetchstatus  string
	Fetchjson    string
	Status       string
	Errorlog     string
	Dataformat   int64
	Dataupdated  float64
	Dataurl      string
	Name         string
	Description  string
	Projecturl   string
	Docurl       string
	Iconurl      string
	Contactname  string
	Contactemail string
	Keywords     string
}

func (*Projects) Args

func (t *Projects) Args() []interface{}

type Projecttags

type Projecttags struct {
	Projectid   string
	Key         string
	Value       string
	Onnode      int64
	Onway       int64
	Onrelation  int64
	Onarea      int64
	Description string
	Docurl      string
	Iconurl     string
	Keywords    string
}

func (*Projecttags) Args

func (t *Projecttags) Args() []interface{}

type Source

type Source struct {
	Id          string
	Name        string
	Updatestart string
	Updateend   string
	Datauntil   string
}

func (*Source) Args

func (t *Source) Args() []interface{}

type Sqlitestat1

type Sqlitestat1 struct {
	Tbl  string
	Idx  string
	Stat string
}

func (*Sqlitestat1) Args

func (t *Sqlitestat1) Args() []interface{}

type Stats

type Stats struct {
	Key   string
	Value string
}

func (*Stats) Args

func (t *Stats) Args() []interface{}

Jump to

Keyboard shortcuts

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