Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CommandType is missing "CREATE" #488

Open
predetermined opened this issue Sep 3, 2024 · 0 comments · May be fixed by #489
Open

CommandType is missing "CREATE" #488

predetermined opened this issue Sep 3, 2024 · 0 comments · May be fixed by #489

Comments

@predetermined
Copy link

Describe the bug

Doing queryObject("create table test()") results in

 QueryObjectResult {
    query: Query {
      args: [],
      camelCase: undefined,
      fields: undefined,
      result_type: 1,
      text: "create table test();"
    },
    command: "CREATE",
    rowCount: NaN,
    warnings: [],
    columns: undefined,
    rows: []
  }

but CommandType is missing "CREATE".

To Reproduce

Steps to reproduce the behavior:

  1. queryObject("create table test()")

Expected behavior

CommandType contains "CREATE".

Screenshots

/

Additional context

If applicable, add any other context about the problem here.

  • deno-postgres version: v0.19.3
  • deno version:
@predetermined predetermined linked a pull request Sep 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant