db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join
in Search
More Search Options

Browse by Tags

All Tags » Native Queries » Queries   (RSS)
  • Groovy SODA, groovy Groovy

    On this blog post Jochen Theodorou uses Groovy features like operator overloading and closures to write SODA queries like the following:Query query=db.query();query.constrain(Pilot.class);query.name == ''Michael Schumacher'' && query.points == 99Query query=db.query()query.constrain(Pilot.class)query.constrain { it.name.length() < 5 ...
    Posted to Carl Rosenberger's web log (Weblog) by Carl Rosenberger on September 9, 2006