Skip to content

[v3] .describe() doesn't work as expected #275

@mohe2015

Description

@mohe2015
import { sql } from "./database.js";

const query = sql`SELECT * FROM users WHERE id = ${1}`

console.log(await query.describe())
console.log(await query.execute())

await sql.end()

Hi,

I expected this to show the describe and then the results but it shows the describe twice. Is this intended behaviour and is there a way to do what I want?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions