Refine.RoaringBitmap64 (Refine v0.1.2)

Copy Markdown

Postgrex extension for the PostgreSQL roaringbitmap64 type.

Usage

Postgrex types

Add a lib/postgrex_types.ex file with the following content:

Postgrex.Types.define(MyApp.PostgrexTypes, [
  Elixir.Refine.RoaringBitmap64
])

Repo config

Add to config.exs:

config :my_app, MyApp.Repo,
  types: MyApp.PostgrexTypes