Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Implement positional parameters for SQL #1

Closed
proofrock opened this issue Oct 9, 2023 · 0 comments
Closed

Implement positional parameters for SQL #1

proofrock opened this issue Oct 9, 2023 · 0 comments
Assignees
Labels

Comments

@proofrock
Copy link
Owner

proofrock commented Oct 9, 2023

Currently, only named params are supported:

{
    "transaction": [{
            "statement": "INSERT INTO TEST_TABLE (ID, VAL, VAL2) VALUES (:id, :val, :val2)",
            "values": { "id": 1, "val": "hello", "val2": null }
    }]
}

Implement also:

{
    "transaction": [{
            "statement": "INSERT INTO TEST_TABLE (ID, VAL, VAL2) VALUES (?, ?, ?)",
            "values": [ 1, "hello", null ]
    }]
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant