Prepared statements without type casts do not work with functions
Open
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
Assessment
This issue has not been assessed yet.