This file contains hidden or 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
foreign key with fields specified | |
Auto commit:true Exec: ===== SELECT "User"."id", "User"."name", "User"."createdAt", "User"."updatedAt", "Projects"."id" AS "Projects.id", "Projects"."name" AS "Projects.name", "Projects"."createdAt" AS "Projects.createdAt", "Projects"."updatedAt" AS "Projects.updatedAt", "Projects.user_projects"."createdAt" AS "Projects.user_projects.createdAt", "Projects.user_projects"."updatedAt" AS "Projects.user_projects.updatedAt", "Projects.user_projects"."project_id" AS "Projects.user_projects.projectId", "Projects.user_projects"."user_id" AS "Projects.user_projects.userId" FROM "Users" "User" LEFT OUTER JOIN ("user_projects" "Projects.user_projects" INNER JOIN "Projects" "Projects" ON "Projects"."id" = "Projects.user_projects"."project_id") ON "User"."id" = "Projects.user_projects"."user_id" WHERE "User"."id" IN (1)===== end of code | |
Got error: Error: ORA-00972: identifier is too long | |
3) should correctly get associations even after a child instance is deleted | |
√ should |
This file contains hidden or 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
it.only('only gets objects that fulfill options with a formatted value', function() { | |
return this.User.find({where: {username: 'John'}}).then(function(john) { | |
return john.getTasks({where: ['active = ?', true]}); | |
}).then(function(tasks) { | |
expect(tasks).to.have.length(1); | |
}); | |
}); |
This file contains hidden or 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
Select: | |
SELECT "id", "username", "createdAt", "updatedAt" FROM "Users" "User" WHERE "User"."username" = 'John' AND ROWNUM <= 1 | |
Returned rows: | |
1, | |
'John', | |
Fri Aug 14 2015 18:24:28 GMT+0300 (FLE Daylight Time), | |
Fri Aug 14 2015 18:24:28 GMT+0300 (FLE Daylight Time) | |
Key, Value arguments for function: | |
key: 1 | |
value: { isNewRecord: false, |
This file contains hidden or 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
$ make test-unit-oracle | |
make[1]: Entering directory '/home/gpolis/sequelize' | |
./node_modules/.bin/mocha --globals setImmediate,clearImmediate --ui tdd --check-leaks --colors -t 15000 --reporter spec ./test/unit/*.js ./test/unit/**/validation.test.js | |
Using database: sequelize-test-62 | |
[ORACLE] InstanceValidator | |
datatype validations | |
should throw validationerror | |
update |
This file contains hidden or 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
490 passing (31s) | |
2 failing | |
1) [ORACLE] InstanceValidator datatype validations should throw validationerror update should throw when passing string: | |
Error: timeout of 15000ms exceeded. Ensure the done() callback is being called in this test. | |
2) [ORACLE] InstanceValidator datatype validations should throw validationerror update should throw when passing decimal: | |
Error: timeout of 15000ms exceeded. Ensure the done() callback is being called in this test. |
This file contains hidden or 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
<core-header-panel> | |
<div> | |
<core-toolbar> | |
<paper-tabs id="tabs" selected="all" self-end> | |
<paper-tab name="all">All</paper-tab> | |
<paper-tab name="favorites">Favorites</paper-tab> | |
</paper-tabs> | |
</core-toolbar> | |
</div> | |
<div class="content">Content goes here...</div> |
This file contains hidden or 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
-client\favicon.ico | |
-client\index.html | |
-client\robots.txt | |
-client\app\app.css | |
-client\app\app.js | |
-client\app\main\main.controller.js | |
-client\app\main\main.controller.spec.js | |
-client\app\main\main.html | |
-client\app\main\main.css | |
-client\app\main\main.js |
This file contains hidden or 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
from bayesian.bbn import build_bbn | |
def f_sex(sex): | |
return 0.5 | |
def f_waist(waist): | |
return 0.33333333 | |
This file contains hidden or 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
var authref = new Firebase(FIREBASE_URL); | |
$scope.auth = $firebaseSimpleLogin(authref, function(error, user) { | |
if (user) { | |
// user authenticated with Firebase | |
var ref = new Firebase(FIREBASE_URL + 'events/?owner=' + user.uid); | |
$scope.events = $firebase(ref); | |
} else { | |
// user is logged out or failed login | |
var ref = new Firebase(FIREBASE_URL + 'events'); | |
$scope.events = $firebase(ref); |
This file contains hidden or 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
.state('companies', { | |
url: '/companies', | |
templateUrl: 'views/companies.html', | |
controller: 'CompaniesCtrl', | |
resolve: { | |
companies : function(ejsserver, ejsResource) { | |
var ejs = ejsResource(ejsserver); | |
var client = ejs.Request().indices('emarket').types('companies'); | |
return client.doSearch(); | |
} |