# Database

While Lektor does not have a real traditional SQL database, it has a tree based data layer which is internally called the database. It's a very powerful tool for building websites and is accessible from plugin API, the `shell` command as well as from within the templates.

#### Asset

Static assets, copied verbatim to the output.

#### Builtin Field Types

An overview of all the field types supported in Lektor.

#### Expression

Represents filter expressions for the query system.

#### F

Helper object to refer to fields in query filters.

#### get_alts()

Helper function to return the list of alternatives for a source

#### Pad

The basic interface to querying the database.

#### Query

Provides functionality to query the database.

#### Record

Specific features of pages and attachments.

#### SourceObject

The basic interface of all source objects.

#### System Fields

The complete list of system fields in Lektor

#### Type

The base class for all field types.

## Comments