标签: google-cloud-platform google-cloud-spanner
目前尚不清楚如何运行查询(或进行API调用)以列出所有表。这对Spanner来说可能吗?
答案 0 :(得分:4)
啊,看起来这里有记录:https://cloud.google.com/spanner/docs/information-schema。特别是:
SELECT t.table_name FROM information_schema.tables AS t WHERE t.table_catalog = '' and t.table_schema = ''