Sha256: 557b7977c05d83318df0a8b3a3f1ee32199dda98052346c0fd7daa703f24692a
Contents?: true
Size: 200 Bytes
Versions: 6
Compression:
Stored size: 200 Bytes
Contents
class Users < ROM::Relation[:sql] schema(:users, infer: true) def by_id(id) where(id: id) end def index order(:name) end def by_name(name) index.where(name: name) end end
Version data entries
6 entries across 6 versions & 1 rubygems