Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BASE DE DATOS probada y FUNCIONANDO. En este commit hemos creado la c…
…lase Transaction que lo usaremos como algo que se denomina MODELO y que nos sirve para interactuar con la base de datos. También hemos creado el método , save(), y lo hemos probado. En los comentarios dejo capturas de pantalla con los resultados.
- Loading branch information
mac
committed
Apr 16, 2018
1 parent
a7e87aa
commit 98d915d
Showing
3 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
98d915d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Versión DEXIE.
.
En el vídeo, el tutor obliga a cambiar la versión de dexie desde el json. A mí no me ha hecho falta cambiar nada porque en el momento de hacer este curso mi versión ya es posterior. Dejo captura de pantalla de la versión que figura en mi json.
.
.
98d915d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
captura de pantalla desde la CONSOLA sin haber creado aún la base de datos.
.
.
98d915d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
captura de pantalla con la BASE DE DATOS recién creada usando el último código escrito en , transactions.ts , línea 38.
.
.
98d915d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
captura de pantalla de la consola del navegador. Aquí hemos probado que funciona bien y que el id se AUTOINCREMENTA recargando la página varias veces.
.
.