Created
June 2, 2022 17:01
-
-
Save dcortesnet/8be65c74fc8ff8e87942eb4ad7582ba0 to your computer and use it in GitHub Desktop.
MongoDB query básica insert collecion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| db.createCollection('valorizacion'); | |
| db.getCollection('valorizacion').insertOne({ | |
| motorPrecio: "", | |
| fechaCreacion: "", | |
| datosVehiculo: { | |
| descripcionMarca: "", | |
| descripcionModelo: "", | |
| descripcionVersion: "", | |
| descripcionColor: "", | |
| ano: "", | |
| kilometros: "", | |
| codigoCondicion: "", | |
| descripcionCondicion: "", | |
| codigoMantenciones: "", | |
| descripcionMantenciones: "" | |
| }, | |
| pais: "", | |
| origen: "", | |
| resultadoValorizacion: { | |
| codigoResultadoValorizacion: "", | |
| descripcionResultado: "", | |
| precioNegocio: "", | |
| precioPublicacion: "" | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment