Considering the same database connection for different views