com\setasign\SetaFramework\Database\Manager\Column

HasCollation Interface HasCollation

File: /SetaFramework/src/Database/Manager/Column/HasCollation.php

Implemented in

Summary

Methods

getCollation()

abstract public HasCollation::getCollation (
void
): ?string

Returns the collation.

setCollation()

abstract public HasCollation::setCollation (
?string $collation
): $this

Sets the collation.

Warning: If you change the collation to one which uses another charset the data will NOT automaticly converted!

If the value is null it will be reset to actual default of the tableschema.

Parameters
$collation : ?string