pow_postgres_store v1.0.0-rc2 Pow.Postgres.Store

Link to this section Summary

Link to this section Types

Link to this type

key()

key() :: [any()] | binary()
Link to this type

key_match()

key_match() :: [atom() | binary()]
Link to this type

record()

record() :: {key(), any()}

Link to this section Functions

Link to this function

all(config, key_match)

all(Pow.Config.t(), key_match()) :: [record()]

Callback implementation for Pow.Store.Backend.Base.all/2.

Link to this function

decode_record(arg)

Link to this function

decode_value(value)

Link to this function

delete(config, key)

delete(Pow.Config.t(), key()) :: :ok

Callback implementation for Pow.Store.Backend.Base.delete/2.

Link to this function

delete_expired()

delete_expired() :: :ok
Link to this function

filter_expired(query)

Link to this function

filter_key(query, key)

Link to this function

filter_key_match(query, key_match)

Link to this function

filter_namespace(query, config)

Link to this function

get(config, key)

get(Pow.Config.t(), key()) :: any() | :not_found

Callback implementation for Pow.Store.Backend.Base.get/2.

Link to this function

put(config, record)

put(Pow.Config.t(), record() | [record()]) :: :ok

Callback implementation for Pow.Store.Backend.Base.put/2.

Link to this function

reject_expired(query)

Link to this function

select_record(query)

Link to this function

select_value(query)