On 26-04-2022 18:00, Steve Naidamast wrote:
> About 2 years ago I developed a personal, SQL Server Source\Version
> Control system that allowed for the versioning of all the SQL Server's
> object DDL in a centralized database.
>
> Though quite competitive with the only 2 other products available at the
> time, there was little interest in this product.
>
> Having worked basically with only Firebird in the last several years I
> am now considering reworking my original software for Firebird developers.
>
> However, what API is available to extract Firebird object definition
> source code that we regularly see in any Firebird Database Manager?
The only real API available for this are the metadata tables, and then
you need to write logic to generate the statements based on the values
within those metadata tables. This is what most existing Firebird tools do.
ISQL has code to generate this, but it is really part of ISQL itself (eg
src/isql/extract.epp among others), and not part of some generic API
within Firebird or the client API.
Mark
--
Mark Rotteveel