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

postQueryToDB function #16

Open MagnusLii opened 7 months ago

MagnusLii commented 7 months ago

Post Query to Database Function

Goal

The goal is to create a function that takes in as an argument a string consisting of an SQL query and posts it to the DB. If possible the function should verify if the post was successful and return True or False if applicable.

Arguments

Returns

Function Name: postQueryToDB