Home | History | Annotate | Download | only in sql

Lines Matching refs:errf

481 func errf(msg string, args ...interface{}) error {
491 return nil, errf("invalid SELECT syntax with %d parts; want 3", len(parts))
503 return nil, errf("SELECT on table %q has invalid column spec of %q (index %d)", stmt.table, colspec, n)
509 return nil, errf("SELECT on table %q references non-existent column %q", stmt.table, column)
513 return nil, errf("SELECT on table %q has pre-bound value for where column %q; need a question mark",
526 return nil, errf("invalid CREATE syntax with %d parts; want 2", len(parts))
533 return nil, errf("CREATE table %q has invalid column spec of %q (index %d)", stmt.table, colspec, n)
545 return nil, errf("invalid INSERT syntax with %d parts; want 2", len(parts))
552 return nil, errf("INSERT table %q has invalid column spec of %q (index %d)", stmt.table, colspec, n)
558 return nil, errf("INSERT table %q references non-existent column %q", stmt.table, column)
574 return nil, errf("invalid conversion to int32 from %q", value)
579 return nil, errf("unsupported conversion for pre-bound parameter %q to type %q", value, ctype)
613 return nil, errf("empty query")
627 return nil, errf("expected section after WAIT to be a duration, got %q %v", parts[1], err)
668 return nil, errf("unsupported command type %q", cmd)