def create_database(self, database, owner=None):
        owner_arg = " -O %s" % owner if owner is not None else ""
        return self._execute("createdb %s%s" % (database, owner_arg))
Creates a database.
dataset/ETHPy150Open python-provy/provy/provy/more/base/database/postgresql.py/BasePostgreSQLRole.create_database