supabase_storagefile_apiupload_or_update_file本页总览upload_or_update_file 上传或更新文件,操作对象为存储桶 声明 FileUploadResponse upload_or_update_file(string relative_path, mixed data, bool update, FileOptions option = nil) 参数 参数名描述relative_path文件路径,包含文件名。格式应为 folder/subfolder/filename.pngdata文件数据update是否为更新操作option文件选项 返回值 FileUploadResponse 文件上传响应 使用方式 返回文档