Hi,
I'm writing a scriptlet to add a column to an IDEA database. I'd like to make sure the database exists before I try to add the field to it!
I don't see a way to test for the existance of the database as part of a project.
I'm new to IDEA, so this may be an obvious question, so I apologise in advance!
Thanks for your help!
Rob
robgentile
Offline
Last seen: 2 years 4 months ago
Joined: 08/05/2014 - 10:29
Hi Rob, what you have to do is think of the database as a normal file and check to see if the file exists. I already have some code that does this, you can find it here.
Thanks, Brian.