Add snippet for database connections