mirror of
https://github.com/dg/dibi.git
synced 2025-07-31 19:30:30 +02:00
empty substitutions are going to be deprecated
This commit is contained in:
@@ -23,16 +23,6 @@ dibi::test("UPDATE :blog:items SET [text]='Hello World'");
|
||||
|
||||
|
||||
|
||||
// create new substitution :: (empty) ==> my_
|
||||
dibi::addSubst('', 'my_');
|
||||
|
||||
dibi::test("UPDATE [database.::table] SET [text]='Hello World'");
|
||||
// -> UPDATE [database].[my_table] SET [text]='Hello World'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// create substitution fallback
|
||||
function substFallBack($expr)
|
||||
{
|
||||
|
Reference in New Issue
Block a user