# Mysql

class Mysql

## Methods

static void
create(string $tableName, array $attributes, bool $ifNotExists = false)

Compiler method to generate 'create' query

static void
alter(string $tableName, array $attributes)

Compiler method to generate 'alter' query

static void
enum(string $columname, array $value)

Enum

static void
getType(string $columnType)

Getter for column type

## Details

###
at line 49
`static void create(string $tableName, array $attributes, bool $ifNotExists = false)`

Compiler method to generate 'create' query

#### Parameters

string | $tableName |
array | $attributes |
bool | $ifNotExists |

#### Return Value

void |

###
at line 70
`static void alter(string $tableName, array $attributes)`

Compiler method to generate 'alter' query

#### Parameters

string | $tableName |
array | $attributes |

#### Return Value

void |

###
at line 155
`static void enum(string $columname, array $value)`

Enum

#### Parameters

string | $columname |
array | $value |

#### Return Value

void |

###
at line 166
`static void getType(string $columnType)`

Getter for column type

#### Parameters

string | $columnType |

#### Return Value

void |