definining database functions

This commit is contained in:
Mikayla Dobson
2022-04-06 11:25:13 -05:00
parent 3e2aae66d8
commit 7632e72ef5
4 changed files with 23 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
import sqlite3
from typing import ParamSpecArgs
from user_input import *
# establish a connection to a .db file and create a cursor object
@@ -38,4 +39,20 @@ print(len(table_rows))
"""
parse_input()
# Functions to define:
# 1) Select all timestamps
# 2) Find a timestamp by date range
# 3) Calculate total hours for the week
# 4) Calculate complete sum of hours
def get_all_stamps():
pass
def get_stamp_by_date():
pass
def get_weekly_hours():
pass
def get_all_hours():
pass