fix: customize column description limit size in db_engine_spec (#34808)

(cherry picked from commit 75af53dc3d)
This commit is contained in:
JUST.in DO IT
2025-08-22 10:00:39 -07:00
committed by Michael S. Molina
parent 097f576244
commit 878289a2e6
9 changed files with 67 additions and 20 deletions

View File

@@ -1993,6 +1993,16 @@ class BaseEngineSpec: # pylint: disable=too-many-public-methods
"""
return []
@classmethod
def get_column_description_limit_size(cls) -> int:
"""
Get a minimum limit size for the sample SELECT column query
to fetch the column metadata.
:return: A number of limit size
"""
return 1
@staticmethod
def pyodbc_rows_to_tuples(data: list[Any]) -> list[tuple[Any, ...]]:
"""