convert has_table() to take Table object as argument (and has_sequence() to take a Sequence)

Issue #726 resolved
Mike Bayer repo owner created an issue

currently Oracle assumes case_sensitive=True for has_table(), other DB's need this info as well. theres no usage of has_table() which does not call the tablename and schema from a Table object, so the full object should be passed in.

Comments (5)

  1. Mike Bayer reporter

    not needed immediately no, but still should probably be done since we don't have any use cases for has_table(string) which weren't derived from has_table(sometable.name). the reason its has_table(string) is that I "predicted" we'd need to just check for tablenames...but this prediction so far has been premature.

    as an example, Oracle tables are qualified by "owner" whereas others are qualified by "schema". so the Table object should be the sole way that we represent "a table".

  2. Log in to comment