Skip to content

Instantly share code, notes, and snippets.

@mchernyavskaya
Created September 30, 2022 16:40
Show Gist options
  • Save mchernyavskaya/5c3e46524899b7605c33a03b8bd07f60 to your computer and use it in GitHub Desktop.
Save mchernyavskaya/5c3e46524899b7605c33a03b8bd07f60 to your computer and use it in GitHub Desktop.
Atlas atlas-tlbhpu-shard-0 [primary] sample_mflix> db.movies.findOne()
{
_id: ObjectId("573a1390f29313caabcd4135"),
plot: 'Three men hammer on an anvil and pass a bottle of beer around.',
genres: [ 'Short' ],
runtime: 1,
cast: [ 'Charles Kayser', 'John Ott' ],
num_mflix_comments: 0,
title: 'Blacksmith Scene',
fullplot: 'A stationary camera looks at a large anvil with a blacksmith behind it and one on either side. The smith in the middle draws a heated metal rod from the fire, places it on the anvil, and all three begin a rhythmic hammering. After several blows, the metal goes back in the fire. One smith pulls out a bottle of beer, and they each take a swig. Then, out comes the glowing metal and the hammering resumes.',
countries: [ 'USA' ],
released: ISODate("1893-05-09T00:00:00.000Z"),
directors: [ 'William K.L. Dickson' ],
rated: 'UNRATED',
awards: { wins: 1, nominations: 0, text: '1 win.' },
lastupdated: '2015-08-26 00:03:50.133000000',
year: 1893,
imdb: { rating: 6.2, votes: 1189, id: 5 },
type: 'movie',
tomatoes: {
viewer: { rating: 3, numReviews: 184, meter: 32 },
lastUpdated: ISODate("2015-06-28T18:34:09.000Z")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment