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

getMultiple Dataset Method doesnt map properly #20

Closed
rifhanakram opened this issue Oct 9, 2017 · 0 comments
Closed

getMultiple Dataset Method doesnt map properly #20

rifhanakram opened this issue Oct 9, 2017 · 0 comments

Comments

@rifhanakram
Copy link
Collaborator

The getMultiple Dataset method doesnt map the relevant data arrays to its specific variable when atleast one dataset is an empty result

let query = 'select * from var1; select * from var2' let { var1, var2} = await steroid.database().relational().getMultipleResultSets(query, "var1", "var2");

when var1's result set is empty . var2's results gets mapped to var1

rifhanakram added a commit to rifhanakram/steroidslibrary that referenced this issue Oct 9, 2017
supuncodes added a commit that referenced this issue Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants