Using pclib ORM
(Basic usage of classes Selection and Model - see source)Number of people with salary>1000: 4
1. Bill
2. Steve
3. Linus
4. John
A richest man: {"id":"1","name":"Bill","surname":"Gates","birthdate":"1955-11-28 00:00:00","profession":"bigboss","money":"1000000000000"}
Source code: orm.php
Elapsed time: 48.32 ms