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
TIMOB-27164 iOS: Implement async Ti.Database.DB methods (8_1_X) #11034
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tests:
|
sgtcoolguy
force-pushed
the
TIMOB-27164-8_1_X
branch
from
July 9, 2019 14:49
7d26d64
to
7a799d4
Compare
sgtcoolguy
force-pushed
the
TIMOB-27164-8_1_X
branch
from
July 11, 2019 12:13
19acfb2
to
e86f4df
Compare
- no longer filter to just android, but don't run on windows - modify tests to expect callbacks that received error as first argument - add tests for invalid sql statements, re-work test structure
fix handling of Callback type with multiple sub types
- add tests for closing database while async queries run
sgtcoolguy
force-pushed
the
TIMOB-27164-8_1_X
branch
from
July 11, 2019 17:28
e86f4df
to
061de98
Compare
ssjsamir
approved these changes
Jul 12, 2019
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.
FR Passed, able to use the new DB implemented methods without any issues on iOS:
Ti.Database.DB.executeAsync(callback, query, parameters...);
Ti.Database.DB.executeAll(queries);
Ti.Database.DB.executeAllAsync(callback, queries);
Test Environment
MacOS Mojave version 10.14.4
Xcode 10.2.1
Node.js ^8.12.0
iPhone 6s Sim (12.1).
"NPM":"4.2.13","CLI":"7.1.0-master.24"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA: https://jira.appcelerator.org/browse/TIMOB-27164
Description:
Backport of CR'd #11022