- https://illuminatedcomputing.com/talks/rails-and-sql/#generate_series_cte
- http://www.rigelgroupllc.com/blog/2014/09/14/working-with-complex-sql-statements/
- https://til.hashrocket.com/rails
- https://nandovieira.com.br/dica-rapida-3-sanitizando-queries-com-activerecord
- https://hashrocket.com/blog/posts/writable-common-table-expressions#delete-and-archive
- https://hashrocket.com/blog/posts/recursive-sql-in-activerecord
- https://www.ldstudios.co/blog/posts/modeling-postgres-common-table-expressions-and-window-functions-with-rails-and-activerecord
- https://github.com/shmay/ctes_in_my_pg
- https://github.com/DavyJonesLocker/postgres_ext
Created
October 7, 2017 13:43
-
-
Save tinogomes/bd6927cced64123ffc635a71434f1369 to your computer and use it in GitHub Desktop.
postgresql, generate_series, Common Table Expressions (CTEs), rails, activerecord
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment