Skip to content

submitVoteToDB Function #10

Description

@MagnusLii

Vote Submission Function

Goal

The goal is to create a function that takes the JSON object created by an ESP when sending vote information, parses all relevant information, and creates a query to store the data in the DB.

Arguments

  • JSON Object Format:
{
  "vote": "Yes/No/Pass",
  "Voting title": "title of vote"
}

Returns

  • SQL query

Function Name: submitVoteToDB

Metadata

Metadata

Assignees

Labels

DBAnything related to the DBESPAnything ESP related

Projects

Status
👀 In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions