murphyslemon / Raspberry_Pi_Server

International Sensor Development Project: This project is a voting system that uses a raspberry pi server and multiple voting devices. The system is easy, secure, scalable, and supports anonymous and registered voting. This repository focuses on the Raspberry Pi server.
0 stars 3 forks source link

storeDataInDB Function #5

Closed MagnusLii closed 9 months ago

MagnusLii commented 10 months ago

Database Data Storage Function

Goal

The aim is to create a function that attempts to store data in the database by accepting a SQL query string and sending this string to the database for execution.

Arguments

Returns

Function Name: storeDataInDB

MagnusLii commented 9 months ago

As we're not using queries and instead using SQLAlchemy this function is irrelevant.