TMMConnection

Class: TMMConnection

Declared in: EDBMMClient

Holds the API endpoint URL, API key, MySQL/MariaDB credentials, and the local EDB database reference. Provides connectivity tests and metadata queries. Share one instance across multiple TMMScript and TMMUpdater objects on the same thread. Not thread-safe — use one instance per thread.

Member Overview

Properties Methods Events
Database Ping OnLog
APIURL TestConnection
APIKey IsReady
DBHost GetColumnInfo
DBName GetTableColumns / GetTablesColumns
DBUser TableExists / ViewExists / ColumnExists / IndexExists / ProcedureExists / FunctionExists / DatabaseExists
DBPassword SuggestInlineThreshold / SuggestBlobChunkSize / SuggestBlobDownloadLimits
TimeoutMs RefreshDatabaseInfo
ConnectionTested
LowerCaseTableNames
Server Limit Properties
MySQLDatabase / TableNames / DatabaseStructure

Design-time Use

TMMConnection is a TComponent descendant and can be placed on a form or data module from the component palette (EasyGate tab, Delphi 13).
All configuration properties (APIURL, APIKey, DBHost, DBName, DBUser, DBPassword, TimeoutMs, Database, OnLog) are published and editable in the Object Inspector at design time.

See EDBApiClient Library for the full design-time setup instructions.

See Also

(C) 2026 Easygate, Lda