- Updates to product page.
- Interface tweaks.
- The "Web Shop" link now only shows web product lines. To see table orders see the new "Service Dashboard" link.
[HTTP] --> POST /session | |
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","automationName":"XCUITest","deviceName":"iPhone SE (2nd generation)","platformVersion":"13.5","app":"/Users/euoia/Code/appium/sample-code/apps/TestApp.app.zip"},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","automationName":"XCUITest","deviceName":"iPhone SE (2nd generation)","platformVersion":"13.5","app":"/Users/euoia/Code/appium/sample-code/apps/TestApp.app.zip"}} | |
[HTTP] No route found. Setting content type to 'text/plain' | |
[HTTP] <-- POST /session 404 1 ms - 50 | |
[HTTP] | |
[HTTP] --> POST /session | |
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","automationName":"XCUITest","deviceName":"iPhone SE (2nd generation)","platformVersion":"13.5","app":"/Users/euoia/Code/appium/sample-code/apps/TestApp.app.zip"},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","automationName":"XCUITest","deviceName":"iPhone SE (2nd generation)","platformVersion":"13.5","app":"/Users/euoia/Code/appium/sample |
# Schema: | |
Post hasMany Threads | |
Thread hasMany Comments | |
# Problem | |
In this made up example, I'm selecting all posts, threads and comments that | |
have comments by a particular user. I'm not interested in the other threads, or | |
the other comments, just the Post data, Thread data and Comments for comments by | |
this user. In SQL this is easy: |
email = models.EmailField(_("The Candidate's email address"), | |
max_length=255, unique=True, error_messages={'invalid': 'xxx.'}) |
#!/usr/bin/env node | |
const db = require('sqlite'); | |
db.open('tiles.db') | |
.then(db => db.prepare('select data from TestTable')) | |
.then(qry => { | |
const insertAll = () => qry.get().then(row => { | |
if (!row) { | |
return; | |
} |
return Promise.all(queues.map(q => { | |
return Promise.props({name: q, length: redis.llenAsync(q)}); | |
})); |
{ | |
"libs": [ | |
], | |
"plugins": { | |
"node": {} | |
} | |
} |
{ | |
"env": { | |
"es6": true, | |
"amd": true, | |
"commonjs": true, | |
"node": true | |
}, | |
"ecmaFeatures": { | |
"modules": true, | |
"experimentalObjectRestSpread": true |
28 Feb 10:03:39 - Listening on port 8888 | |
[Function] | |
TypeError: _user2.default.where(...).update is not a function | |
at routes.js:13:37 | |
at Layer.handle [as handle_request] (/Users/jp/Code/proj/node_modules/express/lib/router/layer.js:95:5) | |
at next (/Users/jp/Code/proj/node_modules/express/lib/router/route.js:131:13) | |
at /Users/jp/Code/proj/node_modules/body-parser/lib/read.js:129:5 | |
at invokeCallback (/Users/jp/Code/proj/node_modules/raw-body/index.js:262:16) | |
at done (/Users/jp/Code/proj/node_modules/raw-body/index.js:251:7) | |
at IncomingMessage.onEnd (/Users/jp/Code/proj/node_modules/raw-body/index.js:308:7) |
{ | |
"presets": ["es2015"] | |
} |