Skip to content

Support inserting into variable number of subset of fields #125

@robinp

Description

@robinp

Hello,

It would be nice to support something like

execute conn "INSERT INTO tbl (?) VALUES (?)" (Multiple (ColNames [Identifier "a", ...]), Multiple (Values ...))

(Edit: added the Multiple constructor as something provisional)

Currently I need to perform some manual text concatenation of the Query string with repeat 5 "?" and the like, which is not very elegant.

Just an idea, not high-priority though. Alternate ideas welcome too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions