Toy database engine