ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข4y agoโ€ข
3 replies
Stephcraft

storage policy functions reference

Is there a more detailed storage policy functions reference than: https://supabase.com/docs/guides/storage

Is there a way to see the definitions of the storage helper functions from the
database > Functions
database > Functions
tab with a different schema?

1. The two helper functions that I need:
storage.filename(...)
storage.filename(...)
that returns only the filename without the extension:
avatar
avatar
instead of
avatar.png
avatar.png


2.
storage.folderpath(...)
storage.folderpath(...)
that returns the string path of the folders
folder/again/here/
folder/again/here/
instead of an array of folders
[ 'folder', 'again', 'here' ]
[ 'folder', 'again', 'here' ]


Thank you
Supabase Documentation
Storage
Use Supabase to store and serve files.
Storage
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Reference Custom Table In Storage Bucket Policy
SupabaseSSupabase / help-and-questions
6mo ago
Storage Policy - User Access to File
SupabaseSSupabase / help-and-questions
4y ago
Cannot enable RLS policy for storage.buckets table
SupabaseSSupabase / help-and-questions
7d ago
Storage: delete user folder using edge functions
SupabaseSSupabase / help-and-questions
6mo ago