ISchemaSafeDriver

interface ISchemaSafeDriver: IDriver, Any

Interface for drivers on top of databases that allow for schemas to be set.

Methods

buildSchema

abstract fun buildSchema()

Builds and installs the CPG schema in the target database. The schema executed is from ISchemaSafeDriver.buildSchemaPayload.

ReturnValue

Name Description
Unit

buildSchemaPayload

abstract fun buildSchemaPayload(): String

Builds the schema from generated CPG code and returns it as a String to be executed on the database.

ReturnValue

Name Description
String