Repodb.Driver_common

repodb · API reference

module type RAW_DRIVER = sig ... end

Helpers for implementing concrete database drivers.

module type RAW_DRIVER_FULL = sig ... end
module Make_full
  (R : RAW_DRIVER_FULL) : 
  Driver.S with type connection = R.connection and type error = R.error
module Make
  (R : RAW_DRIVER) : 
  Driver.S with type connection = R.connection and type error = R.error

Adapts a raw driver written against the original RAW_DRIVER signature.