Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 8, 2018 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/2f09658e9cda679544da3c924b0d04c0 to your computer and use it in GitHub Desktop.
Save parzibyte/2f09658e9cda679544da3c924b0d04c0 to your computer and use it in GitHub Desktop.
db.libros.insert([
{
titulo: "El silencio de los corderos",
paginas: 500,
isbn: "123"
},
{
titulo: "¿Sueñan los androides con ovejas eléctricas?",
paginas: 120,
isbn: "666"
},
{
titulo: "El juego de Ender",
paginas: 400,
isbn: "1234" // Notar que se repite el ISBN
},
{
titulo: "El principito",
paginas: 400,
isbn: "1234" // ISBN repetido aquí
},
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment