How to check if a shared table exists using DolphinDB Python API?

18 views Asked by At

Does anyone know how to check if a shared table exists using the DolphinDB Python API? For example, if I intend to check if there is a table named “A20160405“ in the Shared Tables in GUI, can I execute existsTable("shared", "A20160405")?

1

There are 1 answers

0
Polly On BEST ANSWER

Currently, there is no native/direct interface designed to do this. You can use the built-in function objs. Refer to the following method: s.run("select * from objs(true) where shared=true").