diff --git a/docs/.pages b/docs/.pages index 65ecd41..1218e5a 100644 --- a/docs/.pages +++ b/docs/.pages @@ -15,4 +15,5 @@ nav: - Storyboard: "brainstorm/storyboard" - to-do list: "brainstorm/to-do list" - 📚 Documentatie: - - Presentatie: documentatie/presentatie \ No newline at end of file + - Presentatie: documentatie/presentatie + - Database: documentatie/database \ No newline at end of file diff --git a/docs/assets/databaseTableScreenshot.png b/docs/assets/databaseTableScreenshot.png new file mode 100644 index 0000000..b613561 Binary files /dev/null and b/docs/assets/databaseTableScreenshot.png differ diff --git a/docs/documentatie/database.md b/docs/documentatie/database.md new file mode 100644 index 0000000..5da9475 --- /dev/null +++ b/docs/documentatie/database.md @@ -0,0 +1,14 @@ +### Database + +We hebben een database gemaakt. De tabel heet scores en heeft de volgende kolommen: Naam, Scores. +![Alt text](../assets/databaseTableScreenshot.png) + + +Om iets in de database te zetten moet je de volgende code gebruiken: + +```INSERT INTO Scores (Naam,Score) +VALUES ("henk",413);``` + + +Bron: https://www.w3schools.com/sql/sql_insert.asp +