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-master.db

Index

Constants

This section is empty.

Variables

View Source
var InsertStmts = map[string]string{
	"Languages":       "INSERT INTO Languages (Code,Iso6391,Englishname,Nativename,Wikikeypages,Wikitagpages) VALUES (?, ?, ?, ?, ?, ?)",
	"Sources":         "INSERT INTO Sources (No,Visible,Id,Name,Updatestart,Updateend,Datauntil) VALUES (?, ?, ?, ?, ?, ?, ?)",
	"Masterstats":     "INSERT INTO Masterstats (Key,Value) VALUES (?, ?)",
	"Toptags":         "INSERT INTO Toptags (Skey,Svalue,Countall,Countnodes,Countways,Countrelations,Inwiki,Inprojects) VALUES (?, ?, ?, ?, ?, ?, ?, ?)",
	"Popularkeys":     "INSERT INTO Popularkeys (Key,Count,Users,Wikipages,Inwiki,Scalecount,Scaleusers,Scalewiki,Scalename,Scale1,Scale2) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
	"Popularmetadata": "INSERT INTO Popularmetadata (Keys,Countmin,Countmax,Countdelta,Usersmin,Usersmax,Usersdelta) VALUES (?, ?, ?, ?, ?, ?, ?)",
	"Suggestions":     "INSERT INTO Suggestions (Key,Value,Count,Inwiki,Score) VALUES (?, ?, ?, ?, ?)",
	"Sqlitestat1":     "INSERT INTO Sqlitestat1 (Tbl,Idx,Stat) VALUES (?, ?, ?)",
}
View Source
var SelectStmts = map[string]string{
	"Languages":       "SELECT Code,Iso6391,Englishname,Nativename,Wikikeypages,Wikitagpages FROM Languages",
	"Sources":         "SELECT No,Visible,Id,Name,Updatestart,Updateend,Datauntil FROM Sources",
	"Masterstats":     "SELECT Key,Value FROM Masterstats",
	"Toptags":         "SELECT Skey,Svalue,Countall,Countnodes,Countways,Countrelations,Inwiki,Inprojects FROM Toptags",
	"Popularkeys":     "SELECT Key,Count,Users,Wikipages,Inwiki,Scalecount,Scaleusers,Scalewiki,Scalename,Scale1,Scale2 FROM Popularkeys",
	"Popularmetadata": "SELECT Keys,Countmin,Countmax,Countdelta,Usersmin,Usersmax,Usersdelta FROM Popularmetadata",
	"Suggestions":     "SELECT Key,Value,Count,Inwiki,Score FROM Suggestions",
	"Sqlitestat1":     "SELECT Tbl,Idx,Stat FROM Sqlitestat1",
}

Functions

This section is empty.

Types

type Arger

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

type Languages

type Languages struct {
	Code         string
	Iso6391      string
	Englishname  string
	Nativename   string
	Wikikeypages int64
	Wikitagpages int64
}

func (*Languages) Args

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

type Masterstats

type Masterstats struct {
	Key   string
	Value string
}

func (*Masterstats) Args

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

type Popularkeys

type Popularkeys struct {
	Key        string
	Count      int64
	Users      int64
	Wikipages  int64
	Inwiki     int64
	Scalecount float64
	Scaleusers float64
	Scalewiki  float64
	Scalename  float64
	Scale1     float64
	Scale2     float64
}

func (*Popularkeys) Args

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

type Popularmetadata

type Popularmetadata struct {
	Keys       int64
	Countmin   int64
	Countmax   int64
	Countdelta int64
	Usersmin   int64
	Usersmax   int64
	Usersdelta int64
}

func (*Popularmetadata) Args

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

type Sources

type Sources struct {
	No          int64
	Visible     int64
	Id          string
	Name        string
	Updatestart string
	Updateend   string
	Datauntil   string
}

func (*Sources) Args

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

type Sqlitestat1

type Sqlitestat1 struct {
	Tbl  string
	Idx  string
	Stat string
}

func (*Sqlitestat1) Args

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

type Suggestions

type Suggestions struct {
	Key    string
	Value  string
	Count  int64
	Inwiki int64
	Score  int64
}

func (*Suggestions) Args

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

type Toptags

type Toptags struct {
	Skey           string
	Svalue         string
	Countall       int64
	Countnodes     int64
	Countways      int64
	Countrelations int64
	Inwiki         int64
	Inprojects     int64
}

func (*Toptags) Args

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

Jump to

Keyboard shortcuts

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