How to get Catalog/database name #504
-
The sample code mentions how to extract the table name using
If I have the following If I do print(table) it will return "catalog.db.table" is it possible to return only the catalog or db? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You can access them like so: |
Beta Was this translation helpful? Give feedback.
-
as @georgesittas, you can get the identifier that way, if you just want the text, you can do table.text("catalog") |
Beta Was this translation helpful? Give feedback.
-
Amazing thank you for the quick response! |
Beta Was this translation helpful? Give feedback.
as @georgesittas, you can get the identifier that way, if you just want the text, you can do
table.text("catalog")