Page MenuHomeDevCentral

Use modern Keruald Database method names
ClosedPublic

Authored by dereckson on Oct 20 2025, 17:00.
Tags
None
Referenced Files
F27642359: D3783.id9818.diff
Wed, May 6, 08:49
F27622779: D3783.id9801.diff
Wed, May 6, 02:35
Unknown Object (File)
Tue, May 5, 09:19
Unknown Object (File)
Tue, May 5, 01:15
Unknown Object (File)
Mon, May 4, 14:46
Unknown Object (File)
Mon, May 4, 14:15
Unknown Object (File)
Mon, May 4, 13:26
Unknown Object (File)
Mon, May 4, 11:12
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)