・インストール
brew install redis
・起動
redis-server /usr/local/etc/redis.conf
■MongoDB Universityの解説 その4
最近MongoDB University(https://education.mongodb.com/)の解説
Quiz: Blog in Relational Tables
Q.
let’s assume that our blog can be modeled with the following relational tables:
authors:
【】
author_id,
name,
email,
password
posts:
post_id,
author_id
title,
body,
publication_date
comments:
comment_id,
name,
email,
comment_text
post_comments:
post_id,
comment_id
tags
tag_id
name
post_tags
post_id
tag_id
In order to display a blog post with its comments and tags, how many tables will need to be accessed?
2
3
5
6
【】
A.
Quiz: Blog in Documents
Q.
Given the document schema that we proposed for the blog, how many collections would we need to access to display the blog home page?
0
1
2
4
A.