12345678910111213141516 |
- /**
- * Joins
- *
- * @type {Array}
- */
- module.exports = [
- {
- alias: 'from', // the `alias` -- e.g. name of association
- parent: 'message', // left table name
- parentCollectionIdentity: 'message',
- parentKey: 'from', // left table key
- child: 'user', // right table name
- childKey: 'id', // right table key
- childCollectionIdentity: 'user'
- }
- ];
|