Skip to content

Add checkFieldAndIndex for table status #228

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 1 commit into from
Mar 4, 2017
Merged

Conversation

ssh24
Copy link
Contributor

@ssh24 ssh24 commented Mar 4, 2017

Description

Related code: https://github.com/strongloop/loopback-connector/blob/bba29f88f2a5cd23ae31d266c46f2a026503619e/lib/sql.js#L236
Each sql connector has its own check of fields and indexes exist method, then determine callback the result or not.

@ssh24 ssh24 requested a review from jannyHou March 4, 2017 00:04
@ssh24 ssh24 added #wip review and removed #wip labels Mar 4, 2017
Copy link
Contributor

@jannyHou jannyHou left a comment

Choose a reason for hiding this comment

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

Look great to me

@ssh24 ssh24 merged commit 537df3a into master Mar 4, 2017
@ssh24 ssh24 deleted the add-chk-field-index branch March 4, 2017 01:22
@ssh24 ssh24 removed review labels Mar 4, 2017
kjdelisle pushed a commit that referenced this pull request Mar 31, 2017
 * Remove console.log (Raymond Feng)
 * Monkey patch generic-pool to work through errors (Russ Tyndall)
 * Fix the escape char (Raymond Feng)
 * Upgrade to [email protected] (Loay)
 * Add checkFieldAndIndex for table status (#228) (Sakib Hasan)
 * Refactor migration methods (ssh24)
 * Fix code style inconsistencies in ilike tests (Alireza Ahmadi)
 * Improve tests for better code style consistency (Alireza Ahmadi)
 * Add tests for pattern matching operators (Alireza Ahmadi)
 * Add ILIKE functionality (Alireza Ahmadi)
 * Refactor discovery models (Loay Gewily)
 * merge in #216 (gregdingle)
 * Fix unit tests (ssh24)
 * Fix linting errors and unnesssary changes. (Diana Lau)
 * remove done() calls in test (gregdingle)
 * Added test. Ran run-tests. (gregdingle)
 * Fix bug where settings for pg-pool were dropped (Greg Dingle)
 * Update README with correct doc links, etc (Amir Jafarian)
 * Add test for bulk transactions (Zak Barbuto)
 * Use pg callback over connection.release (#109) (Zak Barbuto)
 * Use pool.pool.release over pool.release (#109) (Zak Barbuto)
 * Add test env information to README (Zak Barbuto)
 * update README for local postgres setup (Diana Lau)
 * Update postgresql.js (tmclouisluk)
 * Fix bug when using postgresql 8.x (tmclouisluk)
 * Replicate new issue_template from loopback (Siddhi Pai)
 * Replicate issue_template from loopback repo (Siddhi Pai)
 * Update LB connector version (Loay)
 * Use unique param for affectedRows (Loay)
 * Move info from docs into README (#199) (Rand McKinney)
 * Update paid support URL (Siddhi Pai)
 * Start 3.x + drop support for Node v0.10/v0.12 (siddhipai)
 * Drop support for Node v0.10 and v0.12 (Siddhi Pai)
 * Start the development of the next major version (Siddhi Pai)
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.

2 participants