def equals object
      if table == object.table && database == object.database
        return true
      end
      return false
    end
def equals object
      if table == object.table && database == object.database
        return true
      end
      return false
    end
Compares the object with another metadata object
 Return true if they are for the same table