File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,12 @@ ___General Methods___
4646 to_string($arrays, $separation = ',');
4747 clean($string);
4848 create_cache(string $path = null);
49- securePDO($vendor = null,
50- $key = 'certificate.key',
49+ secureSetup($key = 'certificate.key',
5150 $cert = 'certificate.crt',
5251 $ca = 'cacert.pem',
5352 $path = '.'._DS
5453 );
54+ secureReset();
5555 createCertificate(string $privatekeyFile = certificate.key,
5656 string $certificateFile = certificate.crt,
5757 string $signingFile = certificate.csr,
@@ -62,6 +62,8 @@ ___Shortcut Table Methods___
6262
6363 create(string $table = null, ...$schemas);// $schemas requires... column()
6464 column(string $column = null, string $type = null, ...$args);
65+ primary(string $constraintName, ...$primaryKeys);
66+ index(string $indexName, ...$indexKeys);
6567 drop(string $table);
6668Example
6769
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ public function testMySQLQuery() {
115115 * @covers ezsql\ezsqlModel::secureReset
116116 * @covers ezsql\Database\ez_pdo::connect
117117 * @covers ezsql\Database\ez_pdo::handle
118+ * @covers ezsql\ezQuery::createCertificate
118119 * @covers ezsql\ezQuery::drop
119120 * @covers ezsql\ezQuery::create
120121 * @covers \primary
You can’t perform that action at this time.
0 commit comments