implement db.getProperty() closes #23