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.
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
SQL query string: The string representing the SQL query to be executed in the database.
Returns
Boolean:True if the execution is successful; False if any issues occur during the process.
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
True
if the execution is successful;False
if any issues occur during the process.Function Name:
storeDataInDB