Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/Database/PicoDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@
* - Fetching results in different formats (array, object, etc.).
* - Generating unique IDs and retrieving the last inserted ID.
*
* **Example:**
* ```php
* <?php
* $db = new PicoDatabase($credentials);
* $db->connect();
* $result = $db->fetch("SELECT * FROM users WHERE id = ?", 123);
* ```
*
* @author Kamshory
* @package MagicObject\Database
* @link https://github.com/Planetbiru/MagicObject
Expand Down
16 changes: 8 additions & 8 deletions src/Database/PicoDatabaseStructure.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
*/
class PicoDatabaseStructure
{
const ANNOTATION_TABLE = "Table";
const ANNOTATION_TABLE = "Table";
const ANNOTATION_COLUMN = "Column";
const ANNOTATION_ID = "Id";
const KEY_NAME = "name";
const KEY_TYPE = "type";
const KEY_NULL = "null";
const KEY_NOT_NULL = "notnull";
const KEY_NULLABLE = "nullable";
const KEY_PRIMARY = "primary";
const ANNOTATION_ID = "Id";
const KEY_NAME = "name";
const KEY_TYPE = "type";
const KEY_NULL = "null";
const KEY_NOT_NULL = "notnull";
const KEY_NULLABLE = "nullable";
const KEY_PRIMARY = "primary";

/**
* The associated MagicObject instance.
Expand Down