Buffers: in-memory data structures

Daobab allows to avoid database querying, by querying in-memory data structures.

Every entity list result() is a buffor, considered by Daobab as regural table.

Get a buffer - customer order from a period of time:

EntityBuffer customer_orders=Select.from(db,tabOrderPizza)
	.AND().andBetween(tabOrderPizza.colDeliverDate(), fromDate, toDate)
	.and(tabOrderPizza.colCustomerId(),customer))
	.result();

Now, select on in-memory buffer 'customer_orders':

Long uniquePizzasOrdered=Select.from(customer_orders,customer_orders).distinct().countAny();