Contents Index Adding statements to a project Tables or queries?

UltraLite Static C++ User's Guide
  Data Access Using the C++ API
    Defining features for your application

Defining UltraLite tables


If you do not intend to carry out joins, and if you have strong constraints on your application executable size, you can define tables instead of queries for your UltraLite application.

You define a subset of a database for use in a C++ API application by creating a publication in the reference database. A publication defines the set of tables, and columns in those tables, that you want to include in your UltraLite application. The use of a publication is purely a convenience for UltraLite, and does not imply any connection with SQL Remote or MobiLink synchronization.

Publications allow you to qualify which rows any user receives using subqueries and parameters. You cannot use these devices when creating publications for use with UltraLite: only the set of tables and columns within those tables is used for defining the UltraLite classes.


Contents Index Adding statements to a project Tables or queries?