You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a proper method of checking whether a named collection already exists in a database? I tried calling DB.getHashMap("name_that_doesnt_exist") thinking it might return null if I haven't previously called DB.createHashMap("name_that_doesnt_exist"). Instead, the database throws an IllegalArgumentException. Is/Will there be a way to check this other than catching the exception?
Sorry if this isn't really an "issue", I couldn't find a mailing list so I posted here.
The text was updated successfully, but these errors were encountered:
Is there a proper method of checking whether a named collection already
exists in a database? I tried calling
DB.getHashMap("name_that_doesnt_exist") thinking it might return null if I
haven't previously called DB.createHashMap("name_that_doesnt_exist").
Instead, the database throws an IllegalArgumentException. Is/Will there be
a way to check this other than catching the exception?
Sorry if this isn't really an "issue", I couldn't find a mailing list so I
posted here.
Reply to this email directly or view it on GitHub: #5
Is there a proper method of checking whether a named collection already exists in a database? I tried calling DB.getHashMap("name_that_doesnt_exist") thinking it might return null if I haven't previously called DB.createHashMap("name_that_doesnt_exist"). Instead, the database throws an IllegalArgumentException. Is/Will there be a way to check this other than catching the exception?
Sorry if this isn't really an "issue", I couldn't find a mailing list so I posted here.
The text was updated successfully, but these errors were encountered: