c# - db4o SODA compare field values -
class someclass { private datetime fielda; private datetime fieldb; }
using soda, proper way select objects fielda greater fieldb?
something this?
var query = this.objectcontainer.query(); query.constrain(typeof(someclass)); query.descend("fielda").constrain(query.descend("fieldb")).greater(); var list = query.execute();
you mean how express query following (sql)
select * sometable fielda > fieldb
in soda, right?
i afraid not possible (at least not without using evaluation or native query - which, in case, run evaluation anyway).
best
Comments
Post a Comment