spelling mistakes updated

This commit is contained in:
Bram Barbieri
2024-04-05 13:30:46 +02:00
parent 2f230ebfb3
commit fdebe8ddde
3 changed files with 8 additions and 10 deletions

View File

@@ -4,11 +4,10 @@ This File and class are dedicated to storing/using data that is related to the q
By doing this a lot of space is saved on the main file and the readability wil increase.
By doing this, it also solves the issues with the very precise naming and the often similar types of names.
This way it ensures no confusion on what the purpous of each segement is.
First up this page imports different types of information, like the library's and the needed files and/or Node.
This way it ensures that there is no confusion on what the
purpose of each segement is.
First up on this page it imports different types of information, like the library's and the needed files and/or Node.
```py
#Importing different librarys.
import mysql.connector
@@ -49,7 +48,7 @@ It then creates variables with the data to put it in an array.
This array then gets sorted and pushed thogether with the query to correctly sort it and push it to the database.
In case of an error, it also asks for errors and prints it.
In case of an error, it also asks for the error and prints it for more clear fixing.
```py
#making a database connection to then load in the processed data.
async def processEnqueteNodeData(data, nodeID):
@@ -76,6 +75,5 @@ In case of an error, it also asks for errors and prints it.
cursor.close()
mydb.close()
```
### code
https://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-3/qaajeeqiinii59/-/blob/main/server/web-data-connection/enqueteNodeClass.py