pure-orm
Version:
A SQL Toolkit based on pure business objects passed to and from stateful data access objects
323 lines (322 loc) • 11.1 kB
JavaScript
module.exports = [
{
'article#id': 14,
'article#author_id': 8,
'article#created_date': new Date('2019-01-11T13:42:39.819Z'),
'article#read_time_minutes': 1,
'article#seo_description': 'some seo words',
'article#primary_image': 'https://example.com/8afdf36d95.jpg',
'article#title': 'Some blog',
'article#slug': 'some-blog',
'article#body': '<p>Oh yeah</p>',
'article#amp_body': '<p>Oh yeah</p>',
'article#kind': 'Article',
'article#points': 2,
'person#id': 8,
'person#first_name': 'Brad',
'person#last_name': 'Martin',
'person#slug': 'brad-martin',
'person#email': 'brad@brad.com',
'person#picture': 'https://example.com/brad.jpg',
'person#cover_photo': 'https://example.com/some.jpg',
'person#brand': null,
'person#tagline': 'Dreamer of big things',
'person#display_name': null,
'person#biography': 'Born to party',
'person#title': 'Chief Marketing Officer',
'article_tag#id': 36,
'article_tag#article_id': 14,
'article_tag#tag_id': 3,
'tag#id': 3,
'tag#name': 'Do-It-Yourself',
'tag#slug': 'do-it-yourself'
},
{
'article#id': 14,
'article#author_id': 8,
'article#created_date': new Date('2019-01-11T13:42:39.819Z'),
'article#read_time_minutes': 1,
'article#seo_description': 'some seo words',
'article#primary_image': 'https://example.com/8afdf36d95.jpg',
'article#title': 'Some blog',
'article#slug': 'some-blog',
'article#body': '<p>Oh yeah</p>',
'article#amp_body': '<p>Oh yeah</p>',
'article#kind': 'Article',
'article#points': 2,
'person#id': 8,
'person#first_name': 'Brad',
'person#last_name': 'Martin',
'person#slug': 'brad-martin',
'person#email': 'brad@brad.com',
'person#picture': 'https://example.com/brad.jpg',
'person#cover_photo': 'https://example.com/some.jpg',
'person#brand': null,
'person#tagline': 'Dreamer of big things',
'person#display_name': null,
'person#biography': 'Born to party',
'person#title': 'Chief Marketing Officer',
'article_tag#id': 37,
'article_tag#article_id': 14,
'article_tag#tag_id': 4,
'tag#id': 4,
'tag#name': 'Family Fun',
'tag#slug': 'family-fun'
},
{
'article#id': 14,
'article#author_id': 8,
'article#created_date': new Date('2019-01-11T13:42:39.819Z'),
'article#read_time_minutes': 1,
'article#seo_description': 'some seo words',
'article#primary_image': 'https://example.com/8afdf36d95.jpg',
'article#title': 'Some blog',
'article#slug': 'some-blog',
'article#body': '<p>Oh yeah</p>',
'article#amp_body': '<p>Oh yeah</p>',
'article#kind': 'Article',
'article#points': 2,
'person#id': 8,
'person#first_name': 'Brad',
'person#last_name': 'Martin',
'person#slug': 'brad-martin',
'person#email': 'brad@brad.com',
'person#picture': 'https://example.com/brad.jpg',
'person#cover_photo': 'https://example.com/some.jpg',
'person#brand': null,
'person#tagline': 'Dreamer of big things',
'person#display_name': null,
'person#biography': 'Born to party',
'person#title': 'Chief Marketing Officer',
'article_tag#id': 38,
'article_tag#article_id': 14,
'article_tag#tag_id': 5,
'tag#id': 5,
'tag#name': 'Decorating',
'tag#slug': 'decorating'
},
{
'article#id': 14,
'article#author_id': 8,
'article#created_date': new Date('2019-01-11T13:42:39.819Z'),
'article#read_time_minutes': 1,
'article#seo_description': 'some seo words',
'article#primary_image': 'https://example.com/8afdf36d95.jpg',
'article#title': 'Some blog',
'article#slug': 'some-blog',
'article#body': '<p>Oh yeah</p>',
'article#amp_body': '<p>Oh yeah</p>',
'article#kind': 'Article',
'article#points': 2,
'person#id': 8,
'person#first_name': 'Brad',
'person#last_name': 'Martin',
'person#slug': 'brad-martin',
'person#email': 'brad@brad.com',
'person#picture': 'https://example.com/brad.jpg',
'person#cover_photo': 'https://example.com/some.jpg',
'person#brand': null,
'person#tagline': 'Dreamer of big things',
'person#display_name': null,
'person#biography': 'Born to party',
'person#title': 'Chief Marketing Officer',
'article_tag#id': 39,
'article_tag#article_id': 14,
'article_tag#tag_id': 6,
'tag#id': 6,
'tag#name': 'Hosting',
'tag#slug': 'hosting'
},
{
'article#id': 14,
'article#author_id': 8,
'article#created_date': new Date('2019-01-11T13:42:39.819Z'),
'article#read_time_minutes': 1,
'article#seo_description': 'some seo words',
'article#primary_image': 'https://example.com/8afdf36d95.jpg',
'article#title': 'Some blog',
'article#slug': 'some-blog',
'article#body': '<p>Oh yeah</p>',
'article#amp_body': '<p>Oh yeah</p>',
'article#kind': 'Article',
'article#points': 2,
'person#id': 8,
'person#first_name': 'Brad',
'person#last_name': 'Martin',
'person#slug': 'brad-martin',
'person#email': 'brad@brad.com',
'person#picture': 'https://example.com/brad.jpg',
'person#cover_photo': 'https://example.com/some.jpg',
'person#brand': null,
'person#tagline': 'Dreamer of big things',
'person#display_name': null,
'person#biography': 'Born to party',
'person#title': 'Chief Marketing Officer',
'article_tag#id': 40,
'article_tag#article_id': 14,
'article_tag#tag_id': 7,
'tag#id': 7,
'tag#name': 'Recipes',
'tag#slug': 'recipes'
},
{
'article#id': 14,
'article#author_id': 8,
'article#created_date': new Date('2019-01-11T13:42:39.819Z'),
'article#read_time_minutes': 1,
'article#seo_description': 'some seo words',
'article#primary_image': 'https://example.com/8afdf36d95.jpg',
'article#title': 'Some blog',
'article#slug': 'some-blog',
'article#body': '<p>Oh yeah</p>',
'article#amp_body': '<p>Oh yeah</p>',
'article#kind': 'Article',
'article#points': 2,
'person#id': 8,
'person#first_name': 'Brad',
'person#last_name': 'Martin',
'person#slug': 'brad-martin',
'person#email': 'brad@brad.com',
'person#picture': 'https://example.com/brad.jpg',
'person#cover_photo': 'https://example.com/some.jpg',
'person#brand': null,
'person#tagline': 'Dreamer of big things',
'person#display_name': null,
'person#biography': 'Born to party',
'person#title': 'Chief Marketing Officer',
'article_tag#id': 41,
'article_tag#article_id': 14,
'article_tag#tag_id': 8,
'tag#id': 8,
'tag#name': 'Product Reviews',
'tag#slug': 'product-reviews'
},
{
'article#id': 14,
'article#author_id': 8,
'article#created_date': new Date('2019-01-11T13:42:39.819Z'),
'article#read_time_minutes': 1,
'article#seo_description': 'some seo words',
'article#primary_image': 'https://example.com/8afdf36d95.jpg',
'article#title': 'Some blog',
'article#slug': 'some-blog',
'article#body': '<p>Oh yeah</p>',
'article#amp_body': '<p>Oh yeah</p>',
'article#kind': 'Article',
'article#points': 2,
'person#id': 8,
'person#first_name': 'Brad',
'person#last_name': 'Martin',
'person#slug': 'brad-martin',
'person#email': 'brad@brad.com',
'person#picture': 'https://example.com/brad.jpg',
'person#cover_photo': 'https://example.com/some.jpg',
'person#brand': null,
'person#tagline': 'Dreamer of big things',
'person#display_name': null,
'person#biography': 'Born to party',
'person#title': 'Chief Marketing Officer',
'article_tag#id': 42,
'article_tag#article_id': 14,
'article_tag#tag_id': 9,
'tag#id': 9,
'tag#name': 'Mythbusters',
'tag#slug': 'mythbusters'
},
{
'article#id': 14,
'article#author_id': 8,
'article#created_date': new Date('2019-01-11T13:42:39.819Z'),
'article#read_time_minutes': 1,
'article#seo_description': 'some seo words',
'article#primary_image': 'https://example.com/8afdf36d95.jpg',
'article#title': 'Some blog',
'article#slug': 'some-blog',
'article#body': '<p>Oh yeah</p>',
'article#amp_body': '<p>Oh yeah</p>',
'article#kind': 'Article',
'article#points': 2,
'person#id': 8,
'person#first_name': 'Brad',
'person#last_name': 'Martin',
'person#slug': 'brad-martin',
'person#email': 'brad@brad.com',
'person#picture': 'https://example.com/brad.jpg',
'person#cover_photo': 'https://example.com/some.jpg',
'person#brand': null,
'person#tagline': 'Dreamer of big things',
'person#display_name': null,
'person#biography': 'Born to party',
'person#title': 'Chief Marketing Officer',
'article_tag#id': 43,
'article_tag#article_id': 14,
'article_tag#tag_id': 11,
'tag#id': 11,
'tag#name': 'Yard Care',
'tag#slug': 'yard-care'
},
{
'article#id': 14,
'article#author_id': 8,
'article#created_date': new Date('2019-01-11T13:42:39.819Z'),
'article#read_time_minutes': 1,
'article#seo_description': 'some seo words',
'article#primary_image': 'https://example.com/8afdf36d95.jpg',
'article#title': 'Some blog',
'article#slug': 'some-blog',
'article#body': '<p>Oh yeah</p>',
'article#amp_body': '<p>Oh yeah</p>',
'article#kind': 'Article',
'article#points': 2,
'person#id': 8,
'person#first_name': 'Brad',
'person#last_name': 'Martin',
'person#slug': 'brad-martin',
'person#email': 'brad@brad.com',
'person#picture': 'https://example.com/brad.jpg',
'person#cover_photo': 'https://example.com/some.jpg',
'person#brand': null,
'person#tagline': 'Dreamer of big things',
'person#display_name': null,
'person#biography': 'Born to party',
'person#title': 'Chief Marketing Officer',
'article_tag#id': 44,
'article_tag#article_id': 14,
'article_tag#tag_id': 12,
'tag#id': 12,
'tag#name': 'Lifestyle',
'tag#slug': 'lifestyle'
},
{
'article#id': 14,
'article#author_id': 8,
'article#created_date': new Date('2019-01-11T13:42:39.819Z'),
'article#read_time_minutes': 1,
'article#seo_description': 'some seo words',
'article#primary_image': 'https://example.com/8afdf36d95.jpg',
'article#title': 'Some blog',
'article#slug': 'some-blog',
'article#body': '<p>Oh yeah</p>',
'article#amp_body': '<p>Oh yeah</p>',
'article#kind': 'Article',
'article#points': 2,
'person#id': 8,
'person#first_name': 'Brad',
'person#last_name': 'Martin',
'person#slug': 'brad-martin',
'person#email': 'brad@brad.com',
'person#picture': 'https://example.com/brad.jpg',
'person#cover_photo': 'https://example.com/some.jpg',
'person#brand': null,
'person#tagline': 'Dreamer of big things',
'person#display_name': null,
'person#biography': 'Born to party',
'person#title': 'Chief Marketing Officer',
'article_tag#id': 45,
'article_tag#article_id': 14,
'article_tag#tag_id': 16,
'tag#id': 16,
'tag#name': 'Bar',
'tag#slug': 'bar'
}
];