1
0
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:
David Grudl
2010-08-03 07:12:18 +02:00
parent 8f358ca73d
commit e50b1a0b5a
2 changed files with 4 additions and 11 deletions

View File

@@ -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)
{