The following sample queries show how to create query conditions with different parameters, operators, and values. When you run the following sample queries in a versioned repository, the query returns the latest checked-in version of the objects that meet the query criteria. When you run the following queries in a non-versioned repository, the query returns the latest saved objects that meet the query criteria.