Skip to content

xerions/ecto_ttl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EctoTtl Build Status

EctoTtl provides a time to live extension for Ecto models.

Usage

Start ecto_ttl and call Ecto.Ttl.models/2. EctoTtl will only work on models which have the ttl field configured:

field :ttl, :integer

Given entries will be deleted after not being updated for ttl seconds.

About

ttl expiration for ecto models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages