Home | History | Annotate | Download | only in sql

Lines Matching full:colname

95 	colname []string
101 for n, nname := range t.colname {
110 cols []interface{} // must be same size as its table colname + coltype
182 colName []string // used by CREATE, INSERT, SELECT (selected columns)
305 db.tables[name] = &table{colname: columnNames, coltype: columnTypes}
325 for n, cname := range t.colname {
495 stmt.colName = strings.Split(parts[1], ",")
535 stmt.colName = append(stmt.colName, nameType[0])
560 stmt.colName = append(stmt.colName, column)
757 if err := db.createTable(s.table, s.colName, s.colType); err != nil {
792 cols = make([]interface{}, len(t.colname))
795 for n, colname := range s.colName {
796 colidx := t.columnIndex(colname)
798 return nil, fmt.Errorf("fakedb: column %q doesn't exist or dropped since prepared statement was created", colname)
884 for _, name := range s.colName {
926 mrow := &row{cols: make([]interface{}, len(s.colName))}
927 for seli, name := range s.colName {
934 for _, column := range s.colName {
941 setColumns = append(setColumns, s.colName)