Skip to content

Commit

Permalink
Add an ability to create async indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvoleg committed Sep 11, 2024
1 parent 3a6e5f7 commit 6289a11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ydb/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@ def with_global_index(self):
self._pb.global_index.SetInParent()
return self

def with_global_async_index(self):
self._pb.global_async_index.SetInParent()
return self

def with_index_columns(self, *columns):
for column in columns:
self._pb.index_columns.append(column)
Expand Down

0 comments on commit 6289a11

Please sign in to comment.