The Connection class has a method for this. `schemaCollection()`