Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepared queries and parameter support for Firebird #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blumf
Copy link
Contributor

@blumf blumf commented Nov 29, 2018

  • New con:prepare method returning a prepared statement
  • Both con:execute and stmt:execute now take optional arguments to pass to the SQL query

e.g.

stmt = con:prepare("INSERT INTO T1(F1,F2) VALUES(?,?)")
stmt:execute(12, 34)

 * New con:prepare method returning a prepared statement
 * Both con:execute and stmt:execute now take optional arguments to pass to the SQL query

e.g.
```lua
stmt = con:prepare("INSERT INTO T1(F1,F2) VALUES(?,?)")
stmt:execute(12, 34)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant