Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Alternate resources: 

An overview of the database layer in Drupal 7

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:08
    The first big API change in Drupal 7 is Database the Next Generation.
  • 0:13
    DBTNG is sort of acronym you'll hear talked about a lot.
  • 0:16
    And this is the new database abstraction layer in Drupal 7.
  • 0:19
    It's all object-oriented, it's based on the PHP Data Objects library.
  • 0:23
    It offers the ability to use Drupal with any database that PHP supports.
  • 0:27
    So we ship with support from MySQL, SQLite and PostgreSQL,
  • 0:33
    but you can now get other extensions in contrib,
  • 0:35
    you can get Oracle, MSSQL, MongoDB things like that.
  • 0:39
    And because we're kind of leveraging the PHP framework or the PDO framework,
  • 0:44
    we can add support for all kinds of stuff

An Overview of the Database Layer in Drupal 7

Loading...

In this excerpt from the Overview of Drupal 7, Angie Byron, talks about the Database API in Drupal 7. This was a round table discussion with other Lullabots on the line who ask and answer questions, in addition to Angie's presentation. This lays a good foundation for how the database system works in Drupal and sets you up for the hands-on tutorials that follow.

Additional resources: