Sha256: 2873375abf9848dbf6d44bf7293b3f97f238a59ff837a362b879292113100e5b
Contents?: true
Size: 422 Bytes
Versions: 4
Compression:
Stored size: 422 Bytes
Contents
require 'spec_helper' describe Axiom::Adapter::Arango::Visitor::For::Unary::Order, '#root' do subject { object.root } let(:relation) { base.sort_by { |r| [r.foo.asc, r.bar.asc] } } expect_aql <<-AQL FOR `order` IN (FOR `base` IN `name` RETURN {"foo": `base`.`foo`, "bar": `base`.`bar`}) SORT `order`.`foo` ASC, `order`.`bar` ASC RETURN {"foo": `order`.`foo`, "bar": `order`.`bar`} AQL end
Version data entries
4 entries across 2 versions & 1 rubygems