radar/twist-v2

View on GitHub
backend/lib/twist/relations/books.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Twist
  module Relations
    class Books < ROM::Relation[:sql]
      schema(:books, infer: true) do
        associations do
          has_many :branches
        end
      end
    end
  end
end