这是indexloc提供的服务,不要输入任何密码
Skip to content

don't use prepared statements for inserts #2012

@0x777

Description

@0x777

We already generate one insert statement with multiple value expressions when there is more than one row to be inserted. Currently, we prepare this query. But this becomes useful only if the same number of rows are inserted again with similar (column, value) pairs. We also run into issues where the prepared statement exceeds the number of allowed parameters (see #2000).

Given the low returns (if any) I'm inclined to simplify insert mutations by not using prepared statements.

Metadata

Metadata

Assignees

Labels

c/serverRelated to servere/quickfixcan be wrapped up in few hoursk/bugSomething isn't workingp/highcandidate for being included in the upcoming sprint

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions