def connect_to_database(self):
        return self.builder.connect_to_database()
Returns a database connection for the build state db.
dataset/ETHPy150Open lektor/lektor/lektor/builder.py/BuildState.connect_to_database