Lines Matching refs:colname
58 colname []string
64 for n, nname := range t.colname {
73 cols []interface{} // must be same size as its table colname + coltype
117 colName []string // used by CREATE, INSERT, SELECT (selected columns)
220 db.tables[name] = &table{colname: columnNames, coltype: columnTypes}
240 for n, cname := range t.colname {
369 stmt.colName = strings.Split(parts[1], ",")
409 stmt.colName = append(stmt.colName, nameType[0])
434 stmt.colName = append(stmt.colName, column)
552 if err := db.createTable(s.table, s.colName, s.colType); err != nil {
587 cols = make([]interface{}, len(t.colname))
590 for n, colname := range s.colName {
591 colidx := t.columnIndex(colname)
593 return nil, fmt.Errorf("fakedb: column %q doesn't exist or dropped since prepared statement was created", colname)
654 for _, name := range s.colName {
682 mrow := &row{cols: make([]interface{}, len(s.colName))}
683 for seli, name := range s.colName {
692 cols: s.colName,