DBAPI

Skip to end of metadata
Go to start of metadata

The DB:API is used for working with a database within MODx. This is an extremely handy API and will save time and resources when scripting add-ons that interact with the database. The MODx database API allows developers to take advantage of built-in database wrapper functions.

  • [db->connect]
  • db->delete
  • [db->disconnect]
  • db->escape
  • [db->getAffectedRows]
  • [db->getColumn]
  • [db->getColumnNames]
  • [db->getHTMLGrid]
  • db->getInsertId
  • [db->getLastError]
  • [db->getRecordCount]
  • [db->getRow]
  • [db->getTableMetaData]
  • [db->getValue]
  • [db->getXML]
  • [db->initDataTypes]
  • [db->insert]
  • [db->makeArray]
  • [db->prepareDate]
  • db->query
  • db->select
  • db->update
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.