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, Aug 18, 03:07
Unknown Object (File)
Tue, Aug 18, 03:07
Unknown Object (File)
Tue, Aug 18, 03:07
Unknown Object (File)
Mon, Aug 10, 10:38
Unknown Object (File)
Thu, Aug 6, 01:06
Unknown Object (File)
Thu, Aug 6, 00:47
Unknown Object (File)
Tue, Aug 4, 10:51
Unknown Object (File)
Tue, Aug 4, 06:43
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 6057
Build 6341: 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)