Download Latest Version Medoo v2.6.0 - PHPStan Level 10 source code.zip (46.7 kB) Google Add to Preferred Sources
Home / v2.5.0
Name Modified Size InfoDownloads / Week
Parent folder
Medoo v2.5.0 - Compatibility source code.tar.gz 2026-07-13 29.7 kB
Medoo v2.5.0 - Compatibility source code.zip 2026-07-13 40.8 kB
README.md 2026-07-13 779 Bytes
Totals: 3 Items   71.3 kB 0

New Features

  • log() will output the SQL execution time [#989].

    :::php $database->select('account', ['id', 'name'], [ 'name' => 'Alice' ]);

    print_r($database->log());

    // Array // ( // [0] => Array // ( // [0] => SELECT "id","name" FROM "account" WHERE "name" = 'Alice' // [1] => 0.000032s // ) // )

  • New [!REGEXP] operator.

    :::php $database->select("account", "user_name", [ 'user_name[!REGEXP]' => '[a-z0-9]*' ]);

    :::SQL SELECT "user_name" FROM "account" WHERE "user_name" NOT REGEXP '[a-z0-9]*'

Improvements

  • Improved SQL database compatibility.
  • Resolved documentation issues for select() [#1143].
Source: README.md, updated 2026-07-13