Ah. Yes, I really wish we could query the API version. Also, it's impossible to query the database name, unless they added that after version 5.