Created
June 6, 2022 16:38
-
-
Save ValentinMouret/3e262bae94924c2b6f0a6fcb93458279 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alter table firestore.collection | |
add column author text generated always as (document->>'author') stored; | |
create index firestore_collection_author_idx | |
on firestore.collection (author); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment