2 people reported

All time, since May 19.

Select sends empty column list

“toSQL() output is correct — problem is in prepared statement execution”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/drizzle/issues/5122/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Select queries send empty column list with bun-sql driver. On 1.0.0-rc.3, db.select().from(table) executes as "select from table" while toSQL() and db.query.* (RQB) are unaffected.

Is this your bug?

File my report
Where
bun-sql driver
Error text
DrizzleQueryError: Failed query: select from "users" PostgreSQL error 42601: syntax error at or near "from"
Versions
1.0.0-rc.3
Platforms
macOS
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Query filters accept invalid keys2 people
  2. Scalar jsonb inserts fail3 people
  3. Parameterized introspection queries fail as placeholders reach database unbound3 people

Original reports2, newest first

  1. bun-sql driver produces empty SELECT column list with snakeCase.table — "select from table"#5802
  2. await db.select() sends empty column list (select from "table") with bun-sql + PostgreSQL in 1.0.0-rc.3#5779

Do you work on Drizzle?

Claim its RAP Sheet to see what your users report and answer them in one place.