Example #1
0
func init() {
	hv, err := planbuilder.CreateVindex("hash_autoinc", map[string]interface{}{"Table": "t", "Column": "c"})
	if err != nil {
		panic(err)
	}
	hashAuto = hv
}
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
}
Example #3
0
func init() {
	numeric, _ = planbuilder.CreateVindex("numeric", nil)
}