pass self to _database_indices