The present invention generally provides methods, articles of manufacture
and systems for exposing, on a client device, fields of a data model
representing an underlying database for use in building queries against
the database. For some embodiments, the client device may be a device
having limited resources, such as a handheld computing device. Therefore,
rather than load and expose the entire data model on the client at once,
a limited portion of the data model may be exposed on a client in a "just
in time" (JIT) basis. The limited portion may be determined, for example,
based on input received from a user and system parameters, such as the
system memory and network bandwidth available to the client device.