34
34
@ds.select_more('a, b, c').sql.should == 'SELECT d, a, b, c FROM t'
38
38
@ds.select_more('a, b, ?', 1).sql.should == 'SELECT d, a, b, 1 FROM t'
41
41
it "should have #select_more work the standard way if initial string is a literal string already" do
42
@ds.select_more('a, b, ?'.lit, 1).sql.should == 'SELECT d, a, b, ?, 1 FROM t'
42
@ds.select_more(Sequel.lit('a, b, ?'), 1).sql.should == 'SELECT d, a, b, ?, 1 FROM t'
45
45
it "should have #select_more work regularly if not given a string as the first argument" do