Skip to content
feiben edited this page Nov 7, 2015 · 4 revisions

We query any property with any value, if exists. Never need to specify which one is the key. Simple and Happy programming

select records where age=25, LunarBase returns:
docID = 99, Value = {name=michale, age=25, payment=800, date=20150728};
docID = 105, Value = {name=frank, age=25, payment=1200, date=20150729};
......
Millions of records matching the query in DB

The query language is quite simple. Under the package of LCG.DBAPI, you will find a bunch of implementation of how to query. In practice, you need to implement your handler(this what we used special term for internal Event-Driven framework) to deal with query results like above. you my order them by the date, payment, or age. Check out how to do it under the package LCG.DB.EventHandler

Clone this wiki locally