PHP Класс RedUNIT\Blackhole\Glue

RedBeanPHP does NOT parse entire queries and it does not ship with a query builder. However because RedBeanPHP facilitates mixing-in SQL snippets using methods like find(), via(), with(), withCondition() and so on..., it needs to be able to figure out how two query part strings can be connected to eachother. In particular parts beginning with or without 'WHERE', 'AND' and 'OR'. This test checks whether the QueryWriter has the ability to glue together query parts correctly. The gluer is part of the QueryWriter, however since this narrow slice of SQL syntax is so generic it's been implemented at Writer level and all drivers in RedBeanPHP inherit the generic implementation. At the moment of writing no additional glue methods had to be implemented.
Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Blackhole
Показать файл Открыть проект

Открытые методы

Метод Описание
testGlue ( ) : void Tests whether we can intelligently glue together SQL snippets.

Описание методов

testGlue() публичный Метод

Tests whether we can intelligently glue together SQL snippets.
public testGlue ( ) : void
Результат void