Pockets.Table (Pockets v1.6.0)
View SourceA simple struct that we store for each Pockets table so that we can nicely map what you
use to refer to your Pockets table and what the behind-the-scenes library uses to refer to the
table.
alias: what you (the developer) uses to refer to yourPockettables.tid: the table identifier: i.e. what thelibraryuses to identify the table.library: denotes either:etsor:detstype: the type of storage.:bag|:duplicate_bag|:set
Summary
Types
@type t() :: %Pockets.Table{ alias: atom(), library: :ets | :dets, opts: keyword(), tid: Pockets.alias(), type: atom() }