"""Logic modules for database operations."""