classSqliteInMemoryAttachStatement
final class SqliteInMemoryAttachStatement
Recognizes ATTACH statements that can only create an in-memory database.
Methods§
public static function isSafe(string $sql): boolReturns whether the SQL can pass through without modifying persistent tables.
Parameters
$sql | string |
Returns
boolTest cases 4
Called from 2
Calls 7
- static-call SqlTokenStream::tokenize() line 20
- static-call SqliteLexerProfile::create() line 20
- function-call
countline 21 - static-call AttachTokens::isSymbol() line 22
- function-call
array_popline 23 - class-const SqlTokenKind::String() line 36
- static-call AttachTokens::isIdentifierSuffix() line 45
Test cases 8§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 5
RewriteCheck::verifycallsSqliteQueryGuardTestcallsSqliteRewriterTestcallsStatementRewriterTestcallsSqliteSessionFactoryTestcalls