- 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.
########################## | |
# Application specfic | |
########################## | |
# config/config.js | |
########################## | |
# General | |
########################## | |
##### |
[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; | |
} |
{ | |
"rules": { | |
"no-console": 0, | |
"indent": 2, | |
"quotes": [ | |
2, | |
"single" | |
], | |
"linebreak-style": [ | |
2, |
{ | |
"ecmaVersion": 6, | |
"libs": [ | |
], | |
"plugins": { | |
"node": {} | |
} | |
} |
return Promise.all(queues.map(q => { | |
return Promise.props({name: q, length: redis.llenAsync(q)}); | |
})); |
{ | |
"libs": [ | |
], | |
"plugins": { | |
"node": {} | |
} | |
} |