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

Named parameters #19

Open
DanielSWolf opened this issue Aug 14, 2019 · 2 comments
Open

Named parameters #19

DanielSWolf opened this issue Aug 14, 2019 · 2 comments

Comments

@DanielSWolf
Copy link

NOTE: This issue is identical to storesafe/cordova-sqlite-storage#717.

In the C API, the second parameter of executeSql contains values to be passed to SQLite as bind parameters. According to the SQLite documentation, such parameters can be positional or named. We would like the following to work:

executeSql(
  'select * from Assignment where id = :assignmentId',
  { assignmentId: 42 },
  success, error
);
@DanielSWolf
Copy link
Author

Internal ticket: https://yt.mobilexag.de/issue/PRDXMIP-22

Old ID: 19.1 (named parameters)

@brodycj
Copy link
Collaborator

brodycj commented Aug 15, 2019

Hi @DanielSWolf, I may need a few weeks to estimate the impact of this feature. I will likely send my response by email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants