Implementing the Database Directive