Porting ActiveRecord "counter cache" behavior to Postgres
Automatically increment and decrement a “counter cache” in Postgres using functions and triggers!
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Automatically increment and decrement a “counter cache” in Postgres using functions and triggers!
Post a comment