Skip to content

Commit c6763ff

Browse files
committed
update/correction
1 parent 3c2532d commit c6763ff

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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);
6668
Example
6769

tests/pdo/pdo_mysqlTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)