def has_table ( self , name ) : return len ( self . sql ( "SELECT name FROM sqlite_master WHERE type='table' AND name=?" , parameters = ( name , ) , asrecarray = False , cache = False ) ) > 0
sqllite python entry exist
Return True if the table * name * exists in the database .
def has_table(self, name):
        """Return ``True`` if the table *name* exists in the database."""
        return len(self.sql("SELECT name FROM sqlite_master WHERE type='table' AND name=?",
                            parameters=(name,), asrecarray=False, cache=False)) > 0