-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Milestone
Description
SQL`INSERT into table(id, text) VALUES (${1}, ${'x'}), (${2}, ${'x'}), (${3}, ${'x'}), (${4}, ${'x'}), (${5}, ${'x'})`
currently results into
{
text: 'INSERT into table(id, text) VALUES ($1, $2), ($3, $4), ($5, $6), ($7, $8), ($9, $10)',
values: [1, 'x', 2, 'x', 3, 'x', 4, 'x', 5, 'x']
}
Could this be optimized to return
{
text: 'INSERT into table(id, text) VALUES ($1, $2), ($3, $2), ($4, $2), ($5, $2), ($6, $2)',
values: [1, 'x', 2, 3, 4, 5]
}
?
Metadata
Metadata
Assignees
Labels
No labels