@@ -1642,12 +1642,7 @@ public function createCollection(string $id, array $attributes = [], array $inde
16421642 $ this ->adapter ->getSupportForAttributes (),
16431643 $ this ->adapter ->getSupportForMultipleFulltextIndexes (),
16441644 $ this ->adapter ->getSupportForIdenticalIndexes (),
1645- $ this ->adapter ->getSupportForIndexObject (),
1646- $ this ->adapter ->getSupportForTrigramIndex (),
1647- $ this ->adapter ->getSupportForSpatialAttributes (),
1648- $ this ->adapter ->getSupportForIndex (),
1649- $ this ->adapter ->getSupportForUniqueIndex (),
1650- $ this ->adapter ->getSupportForFulltextIndex (),
1645+ $ this ->adapter ->getSupportForObjectIndexes (),
16511646 );
16521647 foreach ($ indexes as $ index ) {
16531648 if (!$ validator ->isValid ($ index )) {
@@ -2792,7 +2787,7 @@ public function updateAttribute(string $collection, string $id, ?string $type =
27922787 $ this ->adapter ->getSupportForAttributes (),
27932788 $ this ->adapter ->getSupportForMultipleFulltextIndexes (),
27942789 $ this ->adapter ->getSupportForIdenticalIndexes (),
2795- $ this ->adapter ->getSupportForIndexObject (),
2790+ $ this ->adapter ->getSupportForObjectIndexes (),
27962791 $ this ->adapter ->getSupportForTrigramIndex (),
27972792 $ this ->adapter ->getSupportForSpatialAttributes (),
27982793 $ this ->adapter ->getSupportForIndex (),
@@ -3672,7 +3667,7 @@ public function createIndex(string $collection, string $id, string $type, array
36723667 break ;
36733668
36743669 case self ::INDEX_OBJECT :
3675- if (!$ this ->adapter ->getSupportForObject ()) {
3670+ if (!$ this ->adapter ->getSupportForObjectIndexes ()) {
36763671 throw new DatabaseException ('Object indexes are not supported ' );
36773672 }
36783673 break ;
@@ -3733,7 +3728,7 @@ public function createIndex(string $collection, string $id, string $type, array
37333728 $ this ->adapter ->getSupportForAttributes (),
37343729 $ this ->adapter ->getSupportForMultipleFulltextIndexes (),
37353730 $ this ->adapter ->getSupportForIdenticalIndexes (),
3736- $ this ->adapter ->getSupportForIndexObject (),
3731+ $ this ->adapter ->getSupportForObjectIndexes (),
37373732 $ this ->adapter ->getSupportForTrigramIndex (),
37383733 $ this ->adapter ->getSupportForSpatialAttributes (),
37393734 $ this ->adapter ->getSupportForIndex (),
0 commit comments