# Functions
CreateTask inserts a new task into the database.
DeleteTask deletes a task by ID.
GetDB returns the database instance.
GetTaskByID retrieves a task by ID.
GetTasks retrieves tasks from the database, sorted by priority (High > Medium > Low).
InitDB initializes the database connection and ensures the "tasks" table exists.
UpdateTask updates an existing task by ID.
No description provided by the author