ROM::Relation#[]

Parsed documentation:
View on GitHub
Return schema attribute

@example accessing canonical attribute
  users[:id]
  # => #<ROM::SQL::Attribute[Integer] primary_key=true name=:id source=ROM::Relation::Name(users)>

@example accessing joined attribute
  tasks_with_users = tasks.join(users).select_append(tasks[:title])
  tasks_with_users[:title, :tasks]
  # => #<ROM::SQL::Attribute[String] primary_key=false name=:title source=ROM::Relation::Name(tasks)>

@return [Attribute]

@api public
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.