Skip to content

Learning NodeJS, Chapter 8, Page 177 #36

Description

The following 2 lines (page 177):
var db = require('./db.js');
var albums = db.albums;

I see the genius in it... I don't fully grasp it...;

It seems, the 2nd time I request the module, I have access to the collections...;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions