Skip to content

Commit 5a19a4d

Browse files
authored
Merge pull request #183 from Planetbiru/feature/version-3.22.0
Update
2 parents 8528391 + 4222a7e commit 5a19a4d

2 files changed

Lines changed: 8 additions & 16 deletions

File tree

src/Database/PicoDatabase.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@
2929
* - Fetching results in different formats (array, object, etc.).
3030
* - Generating unique IDs and retrieving the last inserted ID.
3131
*
32-
* **Example:**
33-
* ```php
34-
* <?php
35-
* $db = new PicoDatabase($credentials);
36-
* $db->connect();
37-
* $result = $db->fetch("SELECT * FROM users WHERE id = ?", 123);
38-
* ```
39-
*
4032
* @author Kamshory
4133
* @package MagicObject\Database
4234
* @link https://github.com/Planetbiru/MagicObject

src/Database/PicoDatabaseStructure.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
*/
2727
class PicoDatabaseStructure
2828
{
29-
const ANNOTATION_TABLE = "Table";
29+
const ANNOTATION_TABLE = "Table";
3030
const ANNOTATION_COLUMN = "Column";
31-
const ANNOTATION_ID = "Id";
32-
const KEY_NAME = "name";
33-
const KEY_TYPE = "type";
34-
const KEY_NULL = "null";
35-
const KEY_NOT_NULL = "notnull";
36-
const KEY_NULLABLE = "nullable";
37-
const KEY_PRIMARY = "primary";
31+
const ANNOTATION_ID = "Id";
32+
const KEY_NAME = "name";
33+
const KEY_TYPE = "type";
34+
const KEY_NULL = "null";
35+
const KEY_NOT_NULL = "notnull";
36+
const KEY_NULLABLE = "nullable";
37+
const KEY_PRIMARY = "primary";
3838

3939
/**
4040
* The associated MagicObject instance.

0 commit comments

Comments
 (0)