Page MenuHomeDevCentral

Use modern Keruald Database method names
ClosedPublic

Authored by dereckson on Oct 20 2025, 17:00.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 13, 06:33
Unknown Object (File)
Mon, Jan 12, 10:45
Unknown Object (File)
Sun, Jan 11, 05:23
Unknown Object (File)
Tue, Jan 6, 17:45
Unknown Object (File)
Tue, Jan 6, 11:20
Unknown Object (File)
Mon, Jan 5, 21:45
Unknown Object (File)
Sun, Jan 4, 13:20
Unknown Object (File)
Sun, Jan 4, 13:19
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
No Lint Coverage
Unit
No Test Coverage
Branch
obsidian-legacy-methods
Build Status
Buildable 6058
Build 6342: arc lint + arc unit

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)