

def attach(self, name, path, create=False):
    '\n        Connect another SQLite database file\n\n        Parameters\n        ----------\n        name : string\n          Database name within SQLite\n        path : string\n          Path to sqlite3 file\n        create : boolean, default False\n          If file does not exist, create file if True otherwise raise Exception\n        '
    if ((not os.path.exists(path)) and (not create)):
        raise com.IbisError('File {0} does not exist'.format(path))
    self.con.execute("ATTACH DATABASE '{0}' AS '{1}'".format(path, name))

dataset/ETHPy150Open cloudera/ibis/ibis/sql/sqlite/client.py SQLiteClient.attach/original