1 回答
- 最新
- 投票最多
- 评论最多
1
Yes
You can run something like
select count(key) from <your_table>
where key like 'your_prefix%'
Lets say you have 3 objects
- prefix1/prefix2/object1.txt
- prefix1/prefix2/object2.txt
- prefix1/prefix3/object3.txt
select count(key) from <your_table>
where key like 'prefix1/prefix2/%'
This would return 2
Check out this blog post for more examples
相关内容
- AWS 官方已更新 1 年前