不要怂,就是干,撸起袖子干!

Commit 40911a89 by sdepold

specs for showIndex

1 parent b22255c1
Showing with 10 additions and 0 deletions
...@@ -144,6 +144,16 @@ describe('QueryGenerator', function() { ...@@ -144,6 +144,16 @@ describe('QueryGenerator', function() {
} }
], ],
'showIndexQuery': [
{
arguments: ['User'],
expectation: 'SHOW INDEX FROM User'
}, {
arguments: ['User', { database: 'sequelize' }],
expectation: "SHOW INDEX FROM User FROM sequelize"
}
],
'hashToWhereConditions': [ 'hashToWhereConditions': [
{ {
arguments: [{ id: [1,2,3] }], arguments: [{ id: [1,2,3] }],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!