[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'db' (#fcl)

# Reference for unit 'db'

Database access layer

`uses`
`System,`
`Classes,`
`sysutils,`
`Variants,`
`FmtBCD,`
`MaskUtils;`

## Overview

The db unit provides the basis for all database access mechanisms. It introduces abstract classes, on which all database access mechanisms are based: TDataset representing a set of records from a database, TField which represents the contents of a field in a record, TDatasource which acts as an event distributor on behalf of a dataset and TParams which can be used to parametrize queries. The databases connections themselves are abstracted in the TDatabase class.

The latest version of this document can be found at lazarus-ccr.sourceforge.net .