万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    Redisのインストールから起動

    ・インストール

    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.