DAC for MySQL
TMySQLDatabase.Properties.ReadOnly | Previous Next |
Specifies that the database connection provides read-only access.
Syntax:
property ReadOnly: Boolean;
Description:
Use ReadOnly to specify whether the database connection should allow the application to
update the tables and other metadata in the database. Set ReadOnly before opening the database.
When ReadOnly is False (the default), the application can modify tables and
database metadata (like indexes).
When ReadOnly is True, applications can browse tables but cannot update them. The
application is also prevented from creating or deleting metadata objects like tables and indexes.