src/Query/CreateDatabaseAbstract.php 1 location
|
@@ 37-45 (lines=9) @@
|
34 |
|
return $this; |
35 |
|
} |
36 |
|
|
37 |
|
public function charset(string $collation):CreateDatabaseInterface{ |
38 |
|
$collation = trim($collation); |
39 |
|
|
40 |
|
if(!empty($collation)){ |
41 |
|
$this->collate = $collation; |
42 |
|
} |
43 |
|
|
44 |
|
return $this; |
45 |
|
} |
46 |
|
|
47 |
|
} |
48 |
|
|
src/Query/CreateTableAbstract.php 1 location
|
@@ 25-33 (lines=9) @@
|
22 |
|
|
23 |
|
protected $collate; |
24 |
|
|
25 |
|
public function charset(string $collation):CreateTableInterface{ |
26 |
|
$collation = trim($collation); |
27 |
|
|
28 |
|
if(!empty($collation)){ |
29 |
|
$this->collate = $collation; |
30 |
|
} |
31 |
|
|
32 |
|
return $this; |
33 |
|
} |
34 |
|
|
35 |
|
public function temp():CreateTableInterface{ |
36 |
|
$this->temp = true; |