Skip to content

Commit

Permalink
Revert "changes to allow metadata handling (schema)"
Browse files Browse the repository at this point in the history
  • Loading branch information
daimor authored Jun 13, 2023
1 parent 489ca4f commit 4fbd185
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions sqlalchemy_iris/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1443,12 +1443,6 @@ def get_multi_foreign_keys(
key_constraints.c.table_name.in_(all_objects),
)
)
.group_by(
key_constraints.c.table_name,
key_constraints.c.constraint_name,
key_constraints.c.column_name,
key_constraints_ref.c.table_schema
)
.order_by(
key_constraints.c.constraint_name,
key_constraints.c.ordinal_position,
Expand Down Expand Up @@ -1612,12 +1606,10 @@ def get_multi_columns(
):
if charlen == -1:
charlen = None
try:
kwargs["length"] = int(charlen)
except ValueError:
kwargs["length"] = 0
else:
try:
kwargs["length"] = int(charlen)
except ValueError:
kwargs["length"] = 0
if collation:
kwargs["collation"] = collation
if coltype is None:
Expand Down

0 comments on commit 4fbd185

Please sign in to comment.