package sihl-storage

  1. Overview
  2. Docs

Module Repo.MakeMariaDbSource

Parameters

Signature

Sourceval register_migration : unit -> unit
Sourceval register_cleaner : unit -> unit
Sourceval insert_file : file:StoredFile.t -> unit Lwt.t
Sourceval insert_blob : id:string -> blob:string -> unit Lwt.t
Sourceval get_file : id:string -> StoredFile.t option Lwt.t
Sourceval get_blob : id:string -> string option Lwt.t
Sourceval update_file : file:StoredFile.t -> unit Lwt.t
Sourceval update_blob : id:string -> blob:string -> unit Lwt.t
Sourceval delete_file : id:string -> unit Lwt.t
Sourceval delete_blob : id:string -> unit Lwt.t