-
Notifications
You must be signed in to change notification settings - Fork 37
Refactory of importSQLFile #32
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
Refactory of importSQLFile #32
Conversation
EduFrazao
commented
Mar 14, 2022
- Method exported to its own file
- Method exported to its own file
- Exported to this own file - Created the async version of this feature
const jsi::Value ¶ms = args[1]; | ||
const jsi::Value &callbackHolder = args[2]; | ||
if(!callbackHolder.isObject() || !callbackHolder.asObject(rt).isFunction(rt)) { | ||
return {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, throw error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EduFrazao throw an error here too please and I'll merge it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ospfranco , its strange, to me its already throwing.
This code looks this way even after ea6de4f ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, ok, I see it now, but not on this comment, weird.