MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / get_schema_names

Method get_schema_names

lib/sqlalchemy/dialects/mssql/base.py:3414–3419  ·  view source on GitHub ↗
(self, connection, **kw)

Source from the content-addressed store, hash-verified

3412
3413 @reflection.cache
3414 def get_schema_names(self, connection, **kw):
3415 s = sql.select(ischema.schemata.c.schema_name).order_by(
3416 ischema.schemata.c.schema_name
3417 )
3418 schema_names = [r[0] for r in connection.execute(s)]
3419 return schema_names
3420
3421 @reflection.cache
3422 @_db_plus_owner_listing

Callers

nothing calls this directly

Calls 3

order_byMethod · 0.45
selectMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected