def count(table_name, uri=None, where=None): # parse value from uri _db = MySQLdb.connect(**split_uri(uri=uri)) # return common return common.count(_db, table_name, where=where)
def count(table_name, uri=None, where=None): # parse value from uri _db = sqlite3.connect(_uri(uri=uri)) # return common return common.count(_db, table_name, where=where)