dolthub / dolthub/doltgresql

Prepared statements without type casts do not work with functions

Open
#607 0 comments 0 reactions 0 assignees View on GitHub
bug workbench
Dominant language
Go
Stars
2.1k
Forks
73
Avg merge
1d 10h
Merged PRs (30d)
129

Description

```js
const res = await this.query(`SELECT UPPER($1)`, ["test"]);
console.log(res);
```

Returns error:
```
could not determine OID for placeholder v1: unsupported type: EXPRESSION
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.