How can I test if an array exists?


I want to write a “createDB” python function that will create array in the db, but only if they don’t already exist. ow do i test if an array exists?

I could try to create and test for failure, but is there a more elegant way?


iquery -aq “list()” will show you a list of arrays in the database. Your Python code may parse the result to see if the array already exists.