updateBucket()

更新一个新的存储bucket.

final res = await supabase
  .storage
  .updateBucket('avatars', { public: false });

Notes

  • 所需的策略权限:
    • buckets 权限: update
    • objects 权限: none

Examples

更新bucket

final res = await supabase
  .storage
  .updateBucket('avatars', { public: false });

results matching ""

    No results matching ""