Skip to content

Prepared.setArgs should accept range of variants #196

Open
@schveiguy

Description

@schveiguy

I have a wrapper library that sets parameters based on an array of variants inside my type. I am migrating this to several arrays of variants because they may be built in different orders, but the SQL statement has to have the parameters in a specific order. I had thought maybe I could set all the parameters using setArgs and chain, but it only accepts an array.

This could easily be updated to accept a range, by changing the _inParams[] = args[] call to copy(args, _inParams).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions