Skip to content

removing inline sql. #3529

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

Merged
merged 11 commits into from
Feb 18, 2017
Merged

removing inline sql. #3529

merged 11 commits into from
Feb 18, 2017

Conversation

vitaly-t
Copy link
Contributor

@vitaly-t vitaly-t commented Feb 18, 2017

Started moving SQL outside. There can be plenty of improvements added after this one is merged.

@vitaly-t
Copy link
Contributor Author

Build fails because of indentation in file sql/index.js. How can I fix it in WebStorm?

trying to fix indentation.
@facebook-github-bot
Copy link

@vitaly-t updated the pull request - view changes

commenting out console output for errors.
@facebook-github-bot
Copy link

@vitaly-t updated the pull request - view changes

@@ -25,7 +25,8 @@ function sql(file) {
var qf = new QueryFile(fullPath, {minify: true});

if (qf.error) {
console.error(qf.error);
// commented out because Lint doesn't permit console messages:
// console.error(qf.error);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we can't parse a query file, we should probably throw and exit :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise that looks great!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one was done.

@facebook-github-bot
Copy link

@vitaly-t updated the pull request - view changes

@vitaly-t
Copy link
Contributor Author

Renamed one file, which was named by mistake.

@facebook-github-bot
Copy link

@vitaly-t updated the pull request - view changes

correcting sql.
@facebook-github-bot
Copy link

@vitaly-t updated the pull request - view changes

correcting sql.
correcting sql.
correcting sql.
@facebook-github-bot
Copy link

@vitaly-t updated the pull request - view changes

@facebook-github-bot
Copy link

@vitaly-t updated the pull request - view changes

correcting sql.
fixing sql reserved words.
@facebook-github-bot
Copy link

@vitaly-t updated the pull request - view changes

@facebook-github-bot
Copy link

@vitaly-t updated the pull request - view changes

@facebook-github-bot
Copy link

@vitaly-t updated the pull request - view changes

@facebook-github-bot
Copy link

@vitaly-t updated the pull request - view changes

@vitaly-t
Copy link
Contributor Author

@flovilmart it is now ready to be merged.

@vitaly-t
Copy link
Contributor Author

Build was successful, please merge it ;)

@flovilmart flovilmart merged commit fc7f9f7 into parse-community:master Feb 18, 2017
@flovilmart
Copy link
Contributor

Looking awesome thanks!!

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

Successfully merging this pull request may close these issues.

3 participants