Page MenuHomeDevCentral

Use modern Keruald Database method names
ClosedPublic

Authored by dereckson on Oct 20 2025, 17:00.
Tags
None
Referenced Files
F53154898: D3783.id9801.diff
Wed, Oct 7, 10:37
F53151038: D3783.id9806.diff
Wed, Oct 7, 09:52
F53151036: D3783.id9818.diff
Wed, Oct 7, 09:52
F53134219: D3783.id9806.diff
Wed, Oct 7, 07:40
F53129082: D3783.diff
Wed, Oct 7, 06:52
F53067576: D3783.id9806.diff
Tue, Oct 6, 20:54
Unknown Object (File)
Mon, Oct 5, 05:16
Unknown Object (File)
Thu, Oct 1, 02:03
Subscribers
None

Details

Summary

Keruald Database 0.5.2 allows to use $db->error()
in abstract code, not only in MySQLi engine.

Diff Detail

Repository
rOBSIDIAN Obsidian Workspaces
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

Making of

#!/bin/sh

find workspaces/src -name '*.php' | xargs gsed -i 's/$db->sql_query_express/$db->queryScalar/g'
find workspaces/src -name '*.php' | xargs gsed -i 's/$db->sql_query/$db->query/g'
find workspaces/src -name '*.php' | xargs gsed -i 's/$db->sql_escape/$db->escape/g'
find workspaces/src -name '*.php' | xargs gsed -i 's/$db->sql_fetchrow/$db->fetchRow/g'
find workspaces/src -name '*.php' | xargs gsed -i 's/$db->sql_nextid/$db->nextId/g'
This revision is now accepted and ready to land.Oct 20 2025, 18:49
dereckson edited the summary of this revision. (Show Details)