Platforms to show: All Mac Windows Linux Cross-Platform

Database class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class SQL MBS SQL Plugin 1.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The Xojo Database class is the base class for the database subclasses that communicate with a variety of databases.

Use one of the subclasses to connect to your database.

Sub classes:

Some examples using this class:

Release notes

  • Version 24.1
    • Added SQLiteFunctionMBS class to add custom SQLite functions for SQLite database connections.
  • Version 24.0
    • Implemented EOF and BOF for SQL Plugin for RowSets to make for-each loops work better, but AutoCache may need to be enabled if the database doesn't allow MoveFirst like SQLite.
  • Version 21.2
    • Updated DuckDB to version 0.25.
      Please note that the binary format for files is not compatible with older version. Please export and import into new database.
  • Version 21.1
    • Added DuckDatabaseMBS class for DuckDB database engine, a fast column based database engine.
  • Version 20.4
    • Added missing API 2 functions in Database class for our SQL Plugin documentation.
  • Version 19.5
  • Version 18.5
    • Updated SQL Database plugin for changes in Xojo 2018r3.
  • Version 18.3
    • Added database class for documentation.
  • Version 18.1
    • Fixed problems with connecting to SQL Anywhere database.

The items on this page are in the following plugins: MBS SQL Plugin.


DASessionMBS   -   DatagramMBS


The biggest plugin in space...