buildSchema

Create SQL for creating tables if not exists

@safe
buildSchema
(
Types...
)
(
string prefix = null
)

Parameters

Types

types of structs which will be a tables name of struct -> name of table name of field -> name of column

prefix string

prefix to use for the tables that are created.

To change the name of the table:

@TableName("my_name")
struct Foo {}

Meta