Ruby persistence framework with entities and repositories
ruby
hanami
database
repository
persistence
entity-framework
entity
repository-pattern
persistence-layer
persistence-framework
-
Updated
Aug 14, 2020 - Ruby


I like the
Selectway for writing queries, it provides a good DSL, so I use it to write a semi-complex query instead of theSQLfunction.But it seems it doesn't handle the column alias properly:
https://github.com/Fs02/rel/blob/3af9e733867dc779d166d97e05a6cc91b369cd13/adapter/sql/util.go#L27
My code looks like: