Normally you will only need to work directly with a table class, and only with one ORLite package.

However, if for some reason you need to work with multiple ORLite packages at the same time without hardcoding the root namespace all the time, you can determine the root namespace from an object or table class with the base method.

If your table has single column primary key, a load method will be generated in the class. If there is no primary key, the method is not created.

The load method provides a shortcut mechanism for fetching a single object based on the value of the primary key. However it should only be used for cases where your code trusts the record to already exists.

It returns a ORDB::CPANTS::Kwalitee object, or throws an exception if the object does not exist.

The select method executes a typical SQL SELECT query on the kwalitee table.

It takes an optional argument of a SQL phrase to be added after the FROM kwalitee section of the query, followed by variables to be bound to the placeholders in the SQL phrase. Any SQL that is compatible with SQLite can be used in the parameter.

Returns a list of ORDB::CPANTS::Kwalitee objects when called in list context, or a reference to an ARRAY of ORDB::CPANTS::Kwalitee objects when called in scalar context.

You can also use it in raw form from the root namespace for better control. Using this form also allows for the use of arbitrarily complex queries, including joins. Instead of being objects, rows are provided as ARRAY references when used in this form.

The count method executes a SELECT COUNT(*) query on the kwalitee table.

It takes an optional argument of a SQL phrase to be added after the FROM kwalitee section of the query, followed by variables to be bound to the placeholders in the SQL phrase. Any SQL that is compatible with SQLite can be used in the parameter.