comp • gb.db • connection • applytemplate

Connection.ApplyTemplate (gb.db)

Since 3.7

Sub ApplyTemplate ( Template As String )

Apply a template to the connection, i.e. replicate the database structure described by the template string into the current database.

  • Template : the database template.

The template string is normally returned by a previous call to the GetTemplate method.

If the template includes a table that already exists in the target database, then it is ignored, and the target table is left unchanged.