Exemplo n.º 1
0
func init() {
	hv, err := planbuilder.CreateVindex("hash_autoinc", map[string]interface{}{"Table": "t", "Column": "c"})
	if err != nil {
		panic(err)
	}
	hashAuto = hv
}
Exemplo n.º 2
0
func init() {
	h, err := planbuilder.CreateVindex("lookup_hash_autoinc", map[string]interface{}{"Table": "t", "From": "fromc", "To": "toc"})
	if err != nil {
		panic(err)
	}
	lha = h
}
Exemplo n.º 3
0
func init() {
	numeric, _ = planbuilder.CreateVindex("numeric", nil)
}