mirror of
https://forge.chapril.org/tykayn/caisse-bliss
synced 2025-10-04 17:04:54 +02:00
5809 lines
278 KiB
HTML
5809 lines
278 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Documentation</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<base href="../">
|
|
<link rel="icon" href="images/favicon.ico"/>
|
|
<link rel="stylesheet" href="css/normalize.css">
|
|
<link rel="stylesheet" href="css/base.css">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="css/template.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
|
<script src="js/template.js"></script>
|
|
<script src="js/search.js"></script>
|
|
<script defer src="js/searchIndex.js"></script>
|
|
</head>
|
|
<body id="top">
|
|
<header class="phpdocumentor-header phpdocumentor-section">
|
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
|
<i class="fas fa-bars"></i>
|
|
</label>
|
|
<section data-search-form class="phpdocumentor-search">
|
|
<label>
|
|
<span class="visually-hidden">Search for</span>
|
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
|
</svg>
|
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
|
</label>
|
|
</section>
|
|
|
|
<nav class="phpdocumentor-topnav">
|
|
<ul class="phpdocumentor-topnav__menu">
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="phpdocumentor">
|
|
<div class="phpdocumentor-section">
|
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
|
Menu
|
|
</label>
|
|
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/doctrinemigrations.html" class="">DoctrineMigrations</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/hwi.html" class="">HWI</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/hwi-bundle.html" class="">Bundle</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/caissebliss.html" class="">CaisseBliss</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/caissebliss-controller.html" class="">Controller</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-entity.html" class="">Entity</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-form.html" class="">Form</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-repository.html" class="">Repository</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-security.html" class="">Security</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-service.html" class="">Service</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-tests.html" class="">Tests</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-traits.html" class="">Traits</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/tests.html" class="">Tests</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/tests-appbundle.html" class="">AppBundle</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/app.html" class="">App</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/app-controller.html" class="">Controller</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-datafixtures.html" class="">DataFixtures</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-entity.html" class="">Entity</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-form.html" class="">Form</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-repository.html" class="">Repository</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-security.html" class="">Security</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-traits.html" class="">Traits</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-tests.html" class="">Tests</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/containervvrt4pd.html" class="">ContainerVvRT4pd</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/symfony.html" class="">Symfony</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/symfony-config.html" class="">Config</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-component.html" class="">Component</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-contracts.html" class="">Contracts</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-bundle.html" class="">Bundle</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-bridge.html" class="">Bridge</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-flex.html" class="">Flex</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-polyfill.html" class="">Polyfill</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-runtime.html" class="">Runtime</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-webpackencorebundle.html" class="">WebpackEncoreBundle</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/composer.html" class="">Composer</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/composer-autoload.html" class="">Autoload</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/doctrine.html" class="">Doctrine</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/doctrine-common.html" class="">Common</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-dbal.html" class="">DBAL</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-deprecations.html" class="">Deprecations</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-bundle.html" class="">Bundle</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-inflector.html" class="">Inflector</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-instantiator.html" class="">Instantiator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-migrations.html" class="">Migrations</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-orm.html" class="">ORM</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-persistence.html" class="">Persistence</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-sqlformatter.html" class="">SqlFormatter</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/easycorp.html" class="">EasyCorp</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/easycorp-bundle.html" class="">Bundle</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/egulias.html" class="">Egulias</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/egulias-emailvalidator.html" class="">EmailValidator</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/proxymanager.html" class="">ProxyManager</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/proxymanager-autoloader.html" class="">Autoloader</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-exception.html" class="">Exception</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-factory.html" class="">Factory</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-filelocator.html" class="">FileLocator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-generator.html" class="">Generator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-generatorstrategy.html" class="">GeneratorStrategy</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-inflector.html" class="">Inflector</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-proxy.html" class="">Proxy</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-proxygenerator.html" class="">ProxyGenerator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-signature.html" class="">Signature</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-stub.html" class="">Stub</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/laminas.html" class="">Laminas</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/laminas-code.html" class="">Code</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/monolog.html" class="">Monolog</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/monolog-attribute.html" class="">Attribute</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/monolog-formatter.html" class="">Formatter</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/monolog-handler.html" class="">Handler</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/monolog-processor.html" class="">Processor</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/monolog-test.html" class="">Test</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/deepcopy.html" class="">DeepCopy</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/deepcopy-exception.html" class="">Exception</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/deepcopy-filter.html" class="">Filter</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/deepcopy-matcher.html" class="">Matcher</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/deepcopy-reflection.html" class="">Reflection</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/deepcopy-typefilter.html" class="">TypeFilter</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/deepcopy-typematcher.html" class="">TypeMatcher</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/phpparser.html" class="">PhpParser</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/phpparser-builder.html" class="">Builder</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-comment.html" class="">Comment</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-errorhandler.html" class="">ErrorHandler</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-internal.html" class="">Internal</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-lexer.html" class="">Lexer</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-node.html" class="">Node</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-nodevisitor.html" class="">NodeVisitor</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-parser.html" class="">Parser</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-prettyprinter.html" class="">PrettyPrinter</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/phario.html" class="">PharIo</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/phario-manifest.html" class="">Manifest</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phario-version.html" class="">Version</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/phpdocumentor.html" class="">phpDocumentor</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/phpdocumentor-reflection.html" class="">Reflection</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/phpstan.html" class="">PHPStan</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/phpstan-phpdocparser.html" class="">PhpDocParser</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/phpunit.html" class="">PHPUnit</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/phpunit-framework.html" class="">Framework</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpunit-runner.html" class="">Runner</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpunit-textui.html" class="">TextUI</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpunit-util.html" class="">Util</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/psr.html" class="">Psr</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/psr-cache.html" class="">Cache</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/psr-container.html" class="">Container</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/psr-eventdispatcher.html" class="">EventDispatcher</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/psr-link.html" class="">Link</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/psr-log.html" class="">Log</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/sebastianbergmann.html" class="">SebastianBergmann</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-codecoverage.html" class="">CodeCoverage</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-fileiterator.html" class="">FileIterator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-invoker.html" class="">Invoker</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-template.html" class="">Template</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-timer.html" class="">Timer</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-cliparser.html" class="">CliParser</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-codeunit.html" class="">CodeUnit</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-codeunitreverselookup.html" class="">CodeUnitReverseLookup</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-comparator.html" class="">Comparator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-complexity.html" class="">Complexity</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-diff.html" class="">Diff</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-environment.html" class="">Environment</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-exporter.html" class="">Exporter</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-globalstate.html" class="">GlobalState</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-linesofcode.html" class="">LinesOfCode</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-objectenumerator.html" class="">ObjectEnumerator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-objectreflector.html" class="">ObjectReflector</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-recursioncontext.html" class="">RecursionContext</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-resourceoperations.html" class="">ResourceOperations</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-type.html" class="">Type</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/theseer.html" class="">TheSeer</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/theseer-tokenizer.html" class="">Tokenizer</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/twig.html" class="">Twig</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/twig-extra.html" class="">Extra</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-cache.html" class="">Cache</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-error.html" class="">Error</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-extension.html" class="">Extension</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-loader.html" class="">Loader</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-node.html" class="">Node</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-nodevisitor.html" class="">NodeVisitor</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-profiler.html" class="">Profiler</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-runtimeloader.html" class="">RuntimeLoader</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-sandbox.html" class="">Sandbox</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-test.html" class="">Test</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-tokenparser.html" class="">TokenParser</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-util.html" class="">Util</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/webmozart.html" class="">Webmozart</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/webmozart-assert.html" class="">Assert</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
</section>
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/Application.html" class="">Application</a>
|
|
</h4>
|
|
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
|
</section>
|
|
</aside>
|
|
|
|
<div class="phpdocumentor-column -nine phpdocumentor-content">
|
|
<section>
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/doctrine.html">Doctrine</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/doctrine-orm.html">ORM</a></li>
|
|
</ul>
|
|
|
|
<article class="phpdocumentor-element -class">
|
|
<h2 class="phpdocumentor-content__title">
|
|
QueryBuilder
|
|
|
|
|
|
<div class="phpdocumentor-element__package">
|
|
in package
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</h2>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
|
|
|
</div>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">40</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">This class is responsible for building DQL query strings via an object oriented
|
|
PHP interface.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 id="toc-constants">
|
|
Constants
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_DELETE">DELETE</a>
|
|
<span>
|
|
= 1 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_SELECT">SELECT</a>
|
|
<span>
|
|
= 0 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_STATE_CLEAN">STATE_CLEAN</a>
|
|
<span>
|
|
= 1 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_STATE_DIRTY">STATE_DIRTY</a>
|
|
<span>
|
|
= 0 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_UPDATE">UPDATE</a>
|
|
<span>
|
|
= 2 </span>
|
|
</dt>
|
|
|
|
</dl>
|
|
|
|
|
|
<h4 id="toc-properties">
|
|
Properties
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_cacheable">$cacheable</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Whether to use second level cache, if available.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_cacheMode">$cacheMode</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>Second level query cache mode.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_cacheRegion">$cacheRegion</a>
|
|
<span>
|
|
: string|null </span>
|
|
</dt>
|
|
<dd>Second level cache region name.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_lifetime">$lifetime</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_dql">$dql</a>
|
|
<span>
|
|
: string|null </span>
|
|
</dt>
|
|
<dd>The complete DQL string for this query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_dqlParts">$dqlParts</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>The array of DQL parts collected.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_em">$em</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a> </span>
|
|
</dt>
|
|
<dd>The EntityManager used by this QueryBuilder.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_firstResult">$firstResult</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>The index of the first result to retrieve.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_joinRootAliases">$joinRootAliases</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Keeps root entity alias names for join entities.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_maxResults">$maxResults</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>The maximum number of results to retrieve.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_parameters">$parameters</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a> </span>
|
|
</dt>
|
|
<dd>The query parameters.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_state">$state</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>The state of the query object. Can be dirty or clean.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_type">$type</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>The type of query this is. Can be select, update or delete.</dd>
|
|
|
|
</dl>
|
|
|
|
<h4 id="toc-methods">
|
|
Methods
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method___clone">__clone()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Deep clones all expression objects in the DQL parts.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method___construct">__construct()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Initializes a new <tt>QueryBuilder</tt> that uses the given <tt>EntityManager</tt>.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method___toString">__toString()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Gets a string representation of this QueryBuilder which corresponds to
|
|
the final DQL query being constructed.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_add">add()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Either appends to or replaces a single, generic query part.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_addCriteria">addCriteria()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Adds criteria to the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_addGroupBy">addGroupBy()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Adds a grouping expression to the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_addOrderBy">addOrderBy()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Adds an ordering to the query results.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_addSelect">addSelect()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Adds an item that is to be returned in the query result.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_andHaving">andHaving()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Adds a restriction over the groups of the query, forming a logical
|
|
conjunction with any existing having restrictions.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_andWhere">andWhere()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Adds one or more restrictions to the query results, forming a logical
|
|
conjunction with any previously specified restrictions.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_delete">delete()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Turns the query being built into a bulk delete query that ranges over
|
|
a certain entity type.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_distinct">distinct()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Adds a DISTINCT flag to this query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_expr">expr()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Query-Expr.html"><abbr title="\Doctrine\ORM\Query\Expr">Expr</abbr></a> </span>
|
|
</dt>
|
|
<dd>Gets an ExpressionBuilder used for object-oriented construction of query expressions.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_from">from()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Creates and adds a query root corresponding to the entity identified by the given alias,
|
|
forming a cartesian product with any existing query roots.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getAllAliases">getAllAliases()</a>
|
|
<span>
|
|
: array<string|int, string> </span>
|
|
</dt>
|
|
<dd>Gets all the aliases that have been used in the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getCacheMode">getCacheMode()</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getCacheRegion">getCacheRegion()</a>
|
|
<span>
|
|
: string|null </span>
|
|
</dt>
|
|
<dd>Obtain the name of the second level query cache region in which query results will be stored</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQL">getDQL()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Gets the complete DQL string formed by the current specifications of this QueryBuilder.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLPart">getDQLPart()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Gets a query part by its name.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLParts">getDQLParts()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Gets all query parts.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getEntityManager">getEntityManager()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a> </span>
|
|
</dt>
|
|
<dd>Gets the associated EntityManager for this query builder.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getFirstResult">getFirstResult()</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>Gets the position of the first result the query object was set to retrieve (the "offset").</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getLifetime">getLifetime()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getMaxResults">getMaxResults()</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>Gets the maximum number of results the query object was set to retrieve (the "limit").</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getParameter">getParameter()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Query-Parameter.html"><abbr title="\Doctrine\ORM\Query\Parameter">Parameter</abbr></a>|null </span>
|
|
</dt>
|
|
<dd>Gets a (previously set) query parameter of the query being constructed.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getParameters">getParameters()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a> </span>
|
|
</dt>
|
|
<dd>Gets all defined query parameters for the query being constructed.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getQuery">getQuery()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Query.html"><abbr title="\Doctrine\ORM\Query">Query</abbr></a> </span>
|
|
</dt>
|
|
<dd>Constructs a Query instance from the current specifications of the builder.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootAlias">getRootAlias()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Gets the FIRST root alias of the query. This is the first entity alias involved
|
|
in the construction of the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootAliases">getRootAliases()</a>
|
|
<span>
|
|
: array<string|int, string> </span>
|
|
</dt>
|
|
<dd>Gets the root aliases of the query. This is the entity aliases involved
|
|
in the construction of the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootEntities">getRootEntities()</a>
|
|
<span>
|
|
: array<string|int, string> </span>
|
|
</dt>
|
|
<dd>Gets the root entities of the query. This is the entity aliases involved
|
|
in the construction of the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getState">getState()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Gets the state of this query builder instance.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getType">getType()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Gets the type of the currently built query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_groupBy">groupBy()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Specifies a grouping over the results of the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_having">having()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Specifies a restriction over the groups of the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_indexBy">indexBy()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Updates a query root corresponding to an entity setting its index by. This method is intended to be used with
|
|
EntityRepository->createQueryBuilder(), which creates the initial FROM clause and do not allow you to update it
|
|
setting an index by.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_innerJoin">innerJoin()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Creates and adds a join over an entity association to the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_isCacheable">isCacheable()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Are the query results enabled for second level cache?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_join">join()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Creates and adds a join over an entity association to the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_leftJoin">leftJoin()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Creates and adds a left join over an entity association to the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_orderBy">orderBy()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Specifies an ordering for the query results.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_orHaving">orHaving()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Adds a restriction over the groups of the query, forming a logical
|
|
disjunction with any existing having restrictions.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_orWhere">orWhere()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Adds one or more restrictions to the query results, forming a logical
|
|
disjunction with any previously specified restrictions.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_resetDQLPart">resetDQLPart()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Resets single DQL part.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_resetDQLParts">resetDQLParts()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Resets DQL parts.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_select">select()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Specifies an item that is to be returned in the query result.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_set">set()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets a new value for a field in a bulk update query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setCacheable">setCacheable()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Enable/disable second level query (result) caching for this query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setCacheMode">setCacheMode()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setCacheRegion">setCacheRegion()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setFirstResult">setFirstResult()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the position of the first result to retrieve (the "offset").</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setLifetime">setLifetime()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the life-time for this query into second level cache.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setMaxResults">setMaxResults()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the maximum number of results to retrieve (the "limit").</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setParameter">setParameter()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets a query parameter for the query being constructed.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setParameters">setParameters()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets a collection of query parameters for the query being constructed.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_update">update()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Turns the query being built into a bulk update query that ranges over
|
|
a certain entity type.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_where">where()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Specifies one or more restrictions to the query result.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_findRootAlias">findRootAlias()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Finds the root entity alias of the joined entity.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLForDelete">getDQLForDelete()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLForSelect">getDQLForSelect()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLForUpdate">getDQLForUpdate()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getReducedDQLQueryPart">getReducedDQLQueryPart()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-constants">
|
|
<h3 class="phpdocumentor-elements__header" id="constants">
|
|
Constants
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article class="phpdocumentor-element -constant -public -deprecated">
|
|
<h4 class="phpdocumentor-element__name" id="constant_DELETE">
|
|
DELETE
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_DELETE" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">46</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">DELETE</span>
|
|
= <span class="phpdocumentor-signature__default-value">1</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_DELETE#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public -deprecated">
|
|
<h4 class="phpdocumentor-element__name" id="constant_SELECT">
|
|
SELECT
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_SELECT" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">43</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">SELECT</span>
|
|
= <span class="phpdocumentor-signature__default-value">0</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_SELECT#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public -deprecated">
|
|
<h4 class="phpdocumentor-element__name" id="constant_STATE_CLEAN">
|
|
STATE_CLEAN
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_STATE_CLEAN" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">55</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">STATE_CLEAN</span>
|
|
= <span class="phpdocumentor-signature__default-value">1</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_STATE_CLEAN#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public -deprecated">
|
|
<h4 class="phpdocumentor-element__name" id="constant_STATE_DIRTY">
|
|
STATE_DIRTY
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_STATE_DIRTY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">52</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">STATE_DIRTY</span>
|
|
= <span class="phpdocumentor-signature__default-value">0</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_STATE_DIRTY#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public -deprecated">
|
|
<h4 class="phpdocumentor-element__name" id="constant_UPDATE">
|
|
UPDATE
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_UPDATE" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">49</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">UPDATE</span>
|
|
= <span class="phpdocumentor-signature__default-value">2</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#constant_UPDATE#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
</section>
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
Properties
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_cacheable">
|
|
$cacheable
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_cacheable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">138</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Whether to use second level cache, if available.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
<span class="phpdocumentor-signature__name">$cacheable</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_cacheMode">
|
|
$cacheMode
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_cacheMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">153</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Second level query cache mode.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">int|null</span>
|
|
<span class="phpdocumentor-signature__name">$cacheMode</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_cacheMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-var</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Cache::MODE_*|null</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_cacheRegion">
|
|
$cacheRegion
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_cacheRegion" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">145</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Second level cache region name.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">string|null</span>
|
|
<span class="phpdocumentor-signature__name">$cacheRegion</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_lifetime">
|
|
$lifetime
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_lifetime" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">156</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
<span class="phpdocumentor-signature__name">$lifetime</span>
|
|
= <span class="phpdocumentor-signature__default-value">0</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_dql">
|
|
$dql
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_dql" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">102</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The complete DQL string for this query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string|null</span>
|
|
<span class="phpdocumentor-signature__name">$dql</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_dqlParts">
|
|
$dqlParts
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_dqlParts" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">69</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The array of DQL parts collected.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$dqlParts</span>
|
|
= <span class="phpdocumentor-signature__default-value">['distinct' => false, 'select' => [], 'from' => [], 'join' => [], 'set' => [], 'where' => null, 'groupBy' => [], 'having' => null, 'orderBy' => []]</span></code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_dqlParts#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-var</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>array<string, mixed></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_em">
|
|
$em
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_em" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">62</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The EntityManager used by this QueryBuilder.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$em</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_firstResult">
|
|
$firstResult
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_firstResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">117</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The index of the first result to retrieve.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
<span class="phpdocumentor-signature__name">$firstResult</span>
|
|
= <span class="phpdocumentor-signature__default-value">0</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_joinRootAliases">
|
|
$joinRootAliases
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_joinRootAliases" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">131</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Keeps root entity alias names for join entities.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$joinRootAliases</span>
|
|
= <span class="phpdocumentor-signature__default-value">[]</span></code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_joinRootAliases#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-var</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>array<string, string></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_maxResults">
|
|
$maxResults
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_maxResults" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">124</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The maximum number of results to retrieve.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">int|null</span>
|
|
<span class="phpdocumentor-signature__name">$maxResults</span>
|
|
= <span class="phpdocumentor-signature__default-value">null</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_parameters">
|
|
$parameters
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_parameters" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">110</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The query parameters.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$parameters</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_parameters#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-var</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>ArrayCollection<int, Parameter></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_state">
|
|
$state
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_state" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">95</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The state of the query object. Can be dirty or clean.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
<span class="phpdocumentor-signature__name">$state</span>
|
|
= <span class="phpdocumentor-signature__default-value">self::STATE_CLEAN</span></code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_state#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-var</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>self::STATE_*</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_type">
|
|
$type
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_type" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">87</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The type of query this is. Can be select, update or delete.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
<span class="phpdocumentor-signature__name">$type</span>
|
|
= <span class="phpdocumentor-signature__default-value">self::SELECT</span></code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#property_type#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-var</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>self::SELECT|self::DELETE|self::UPDATE</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___clone">
|
|
__clone()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method___clone" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1546</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Deep clones all expression objects in the DQL parts.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">__clone</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
|
__construct()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">163</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Initializes a new <tt>QueryBuilder</tt> that uses the given <tt>EntityManager</tt>.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$em</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$em</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The EntityManager to use.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___toString">
|
|
__toString()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method___toString" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1536</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets a string representation of this QueryBuilder which corresponds to
|
|
the final DQL query being constructed.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">__toString</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The string representation of this QueryBuilder.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_add">
|
|
add()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_add" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">720</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Either appends to or replaces a single, generic query part.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">add</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dqlPartName</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|object|array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$dqlPart</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$append</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>The available parts are: 'select', 'from', 'join', 'set', 'where',
|
|
'groupBy', 'having' and 'orderBy'.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$dqlPartName</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The DQL part name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$dqlPart</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|object|array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>An Expr object.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$append</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether to append (true) or replace (false).</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_add#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>string|object|list<string>|array{join: array<int|string, object>} $dqlPart</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_addCriteria">
|
|
addCriteria()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_addCriteria" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1356</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Adds criteria to the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">addCriteria</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-Criteria.html"><abbr title="\Doctrine\Common\Collections\Criteria">Criteria</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$criteria</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Adds where expressions with AND operator.
|
|
Adds orderings.
|
|
Overrides firstResult and maxResults if they're set.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$criteria</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-Criteria.html"><abbr title="\Doctrine\Common\Collections\Criteria">Criteria</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_addCriteria#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-ORM-Query-QueryException.html"><abbr title="\Doctrine\ORM\Query\QueryException">QueryException</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_addGroupBy">
|
|
addGroupBy()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_addGroupBy" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1246</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Adds a grouping expression to the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">addGroupBy</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$groupBy</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->groupBy('u.lastLogin')
|
|
->addGroupBy('u.createdAt');
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$groupBy</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The grouping expression.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_addOrderBy">
|
|
addOrderBy()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_addOrderBy" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1338</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Adds an ordering to the query results.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">addOrderBy</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|<a href="classes/Doctrine-ORM-Query-Expr-OrderBy.html"><abbr title="\Doctrine\ORM\Query\Expr\OrderBy">OrderBy</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$sort</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$order</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$sort</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|<a href="classes/Doctrine-ORM-Query-Expr-OrderBy.html"><abbr title="\Doctrine\ORM\Query\Expr\OrderBy">OrderBy</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The ordering expression.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$order</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The ordering direction.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_addSelect">
|
|
addSelect()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_addSelect" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">832</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Adds an item that is to be returned in the query result.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">addSelect</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$select</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->addSelect('p')
|
|
->from('User', 'u')
|
|
->leftJoin('u.Phonenumbers', 'p');
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$select</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The selection expression.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_andHaving">
|
|
andHaving()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_andHaving" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1276</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Adds a restriction over the groups of the query, forming a logical
|
|
conjunction with any existing having restrictions.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">andHaving</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$having</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$having</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The restriction to append.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_andWhere">
|
|
andWhere()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_andWhere" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1163</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Adds one or more restrictions to the query results, forming a logical
|
|
conjunction with any previously specified restrictions.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">andWhere</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->where('u.username LIKE ?')
|
|
->andWhere('u.is_active = 1');
|
|
</code>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_andWhere#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\Doctrine\ORM\where()">where()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_delete">
|
|
delete()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_delete" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">861</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Turns the query being built into a bulk delete query that ranges over
|
|
a certain entity type.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">delete</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$delete</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$alias</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->delete('User', 'u')
|
|
->where('u.id = :user_id')
|
|
->setParameter('user_id', 1);
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$delete</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The class/type whose instances are subject to the deletion.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$alias</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The class/type alias used in the constructed query.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_distinct">
|
|
distinct()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_distinct" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">810</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Adds a DISTINCT flag to this query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">distinct</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$flag</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->distinct()
|
|
->from('User', 'u');
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$flag</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_expr">
|
|
expr()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_expr" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">186</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets an ExpressionBuilder used for object-oriented construction of query expressions.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">expr</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-Expr.html"><abbr title="\Doctrine\ORM\Query\Expr">Expr</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>This producer method is intended for convenient inline usage. Example:</p>
|
|
<code class="prettyprint">
|
|
$qb = $em->createQueryBuilder();
|
|
$qb
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->where($qb->expr()->eq('u.id', 1));
|
|
</code>
|
|
<p>For more complex expression construction, consider storing the expression
|
|
builder object in a local variable.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-Expr.html"><abbr title="\Doctrine\ORM\Query\Expr">Expr</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_from">
|
|
from()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_from" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">931</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Creates and adds a query root corresponding to the entity identified by the given alias,
|
|
forming a cartesian product with any existing query roots.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">from</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$from</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$alias</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$indexBy</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u');
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$from</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The class name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$alias</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The alias of the class.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$indexBy</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The index for the from.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getAllAliases">
|
|
getAllAliases()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getAllAliases" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">509</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets all the aliases that have been used in the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getAllAliases</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, string></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Including all select root aliases and join aliases</p>
|
|
<code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->join('u.articles','a');
|
|
<pre class="prettyprint"><code class="prettyprint">$qb->getAllAliases(); // array('u','a')
|
|
</code></pre>
|
|
</code>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getAllAliases#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>list<string></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, string></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getCacheMode">
|
|
getCacheMode()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getCacheMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">261</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getCacheMode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getCacheMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Cache::MODE_*|null</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getCacheRegion">
|
|
getCacheRegion()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getCacheRegion" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">232</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Obtain the name of the second level query cache region in which query results will be stored</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getCacheRegion</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string|null</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The cache region name; NULL indicates the default region.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getDQL">
|
|
getDQL()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQL" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">340</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the complete DQL string formed by the current specifications of this QueryBuilder.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getDQL</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u');
|
|
echo $qb->getDql(); // SELECT u FROM User u
|
|
</code>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The DQL query string.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getDQLPart">
|
|
getDQLPart()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLPart" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1412</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets a query part by its name.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getDQLPart</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$queryPartName</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$queryPartName</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$queryPart</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getDQLParts">
|
|
getDQLParts()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLParts" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1422</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets all query parts.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getDQLParts</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLParts#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>array<string, mixed> $dqlParts</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getEntityManager">
|
|
getEntityManager()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getEntityManager" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">304</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the associated EntityManager for this query builder.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getEntityManager</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getFirstResult">
|
|
getFirstResult()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getFirstResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">673</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the position of the first result the query object was set to retrieve (the "offset").</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getFirstResult</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Returns NULL if <a href="setFirstResult"></a> was not applied to this QueryBuilder.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int|null</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The position of the first result.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getLifetime">
|
|
getLifetime()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getLifetime" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">238</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getLifetime</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getMaxResults">
|
|
getMaxResults()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getMaxResults" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">702</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the maximum number of results the query object was set to retrieve (the "limit").</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getMaxResults</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Returns NULL if <a href="setMaxResults"></a> was not applied to this query builder.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int|null</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Maximum number of results.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getParameter">
|
|
getParameter()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getParameter" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">638</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets a (previously set) query parameter of the query being constructed.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getParameter</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|int </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-Parameter.html"><abbr title="\Doctrine\ORM\Query\Parameter">Parameter</abbr></a>|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The key (index or name) of the bound parameter.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-Parameter.html"><abbr title="\Doctrine\ORM\Query\Parameter">Parameter</abbr></a>|null</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The value of the bound parameter.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getParameters">
|
|
getParameters()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getParameters" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">626</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets all defined query parameters for the query being constructed.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getParameters</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getParameters#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>ArrayCollection<int, Parameter></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The currently defined query parameters.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getQuery">
|
|
getQuery()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getQuery" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">380</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Constructs a Query instance from the current specifications of the builder.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getQuery</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query.html"><abbr title="\Doctrine\ORM\Query">Query</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u');
|
|
$q = $qb->getQuery();
|
|
$results = $q->execute();
|
|
</code>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query.html"><abbr title="\Doctrine\ORM\Query">Query</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-deprecated "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getRootAlias">
|
|
getRootAlias()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootAlias" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">448</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the FIRST root alias of the query. This is the first entity alias involved
|
|
in the construction of the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getRootAlias</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u');
|
|
<p>echo $qb->getRootAlias(); // u
|
|
</code></p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootAlias#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Please use $qb->getRootAliases() instead.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getRootAliases">
|
|
getRootAliases()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootAliases" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">474</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the root aliases of the query. This is the entity aliases involved
|
|
in the construction of the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getRootAliases</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, string></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u');
|
|
<pre class="prettyprint"><code class="prettyprint">$qb->getRootAliases(); // array('u')
|
|
</code></pre>
|
|
</code>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootAliases#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>list<string></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, string></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getRootEntities">
|
|
getRootEntities()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootEntities" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">529</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the root entities of the query. This is the entity aliases involved
|
|
in the construction of the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getRootEntities</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, string></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u');
|
|
<pre class="prettyprint"><code class="prettyprint">$qb->getRootEntities(); // array('User')
|
|
</code></pre>
|
|
</code>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootEntities#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>list<string></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, string></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-deprecated "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getState">
|
|
getState()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getState" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">317</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the state of this query builder instance.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getState</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getState#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>The builder state is an internal concern.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>self::STATE_*</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Either QueryBuilder::STATE_DIRTY or QueryBuilder::STATE_CLEAN.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-deprecated "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getType">
|
|
getType()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getType" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">287</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the type of the currently built query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getType</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getType#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>If necessary, track the type of the query being built outside of the builder.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>self::SELECT|self::DELETE|self::UPDATE</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_groupBy">
|
|
groupBy()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_groupBy" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1226</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Specifies a grouping over the results of the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">groupBy</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$groupBy</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Replaces any previously specified groupings, if any.</p>
|
|
<code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->groupBy('u.id');
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$groupBy</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The grouping expression.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_having">
|
|
having()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_having" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1259</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Specifies a restriction over the groups of the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">having</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$having</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Replaces any previous having restrictions, if any.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$having</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The restriction over the groups.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_indexBy">
|
|
indexBy()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_indexBy" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">959</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Updates a query root corresponding to an entity setting its index by. This method is intended to be used with
|
|
EntityRepository->createQueryBuilder(), which creates the initial FROM clause and do not allow you to update it
|
|
setting an index by.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">indexBy</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$alias</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$indexBy</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $userRepository->createQueryBuilder('u')
|
|
->indexBy('u', 'u.id');
|
|
<pre class="prettyprint"><code class="prettyprint">// Is equivalent to...
|
|
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u', 'u.id');
|
|
</code></pre>
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$alias</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The root alias of the class.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$indexBy</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The index for the from.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_indexBy#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-ORM-Query-QueryException.html"><abbr title="\Doctrine\ORM\Query\QueryException">QueryException</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_innerJoin">
|
|
innerJoin()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_innerJoin" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1031</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Creates and adds a join over an entity association to the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">innerJoin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$join</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$alias</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$conditionType</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|<a href="classes/Doctrine-ORM-Query-Expr-Comparison.html"><abbr title="\Doctrine\ORM\Query\Expr\Comparison">Comparison</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Composite.html"><abbr title="\Doctrine\ORM\Query\Expr\Composite">Composite</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Func.html"><abbr title="\Doctrine\ORM\Query\Expr\Func">Func</abbr></a>|null </span><span class="phpdocumentor-signature__argument__name">$condition</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$indexBy</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>The entities in the joined association will be fetched as part of the query
|
|
result if the alias used for the joined association is placed in the select
|
|
expressions.</p>
|
|
<pre class="prettyprint"><code class="prettyprint">[php]
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->innerJoin('u.Phonenumbers', 'p', Expr\Join::WITH, 'p.is_primary = 1');
|
|
</code></pre>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$join</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The relationship to join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$alias</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The alias of the join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$conditionType</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The condition type constant. Either ON or WITH.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$condition</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|<a href="classes/Doctrine-ORM-Query-Expr-Comparison.html"><abbr title="\Doctrine\ORM\Query\Expr\Comparison">Comparison</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Composite.html"><abbr title="\Doctrine\ORM\Query\Expr\Composite">Composite</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Func.html"><abbr title="\Doctrine\ORM\Query\Expr\Func">Func</abbr></a>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The condition for the join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$indexBy</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The index for the join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_innerJoin#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Expr\Join::ON|Expr\Join::WITH|null $conditionType</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_isCacheable">
|
|
isCacheable()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_isCacheable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">210</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Are the query results enabled for second level cache?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isCacheable</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_join">
|
|
join()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_join" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1004</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Creates and adds a join over an entity association to the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">join</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$join</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$alias</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$conditionType</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|<a href="classes/Doctrine-ORM-Query-Expr-Comparison.html"><abbr title="\Doctrine\ORM\Query\Expr\Comparison">Comparison</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Composite.html"><abbr title="\Doctrine\ORM\Query\Expr\Composite">Composite</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Func.html"><abbr title="\Doctrine\ORM\Query\Expr\Func">Func</abbr></a>|null </span><span class="phpdocumentor-signature__argument__name">$condition</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$indexBy</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>The entities in the joined association will be fetched as part of the query
|
|
result if the alias used for the joined association is placed in the select
|
|
expressions.</p>
|
|
<code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->join('u.Phonenumbers', 'p', Expr\Join::WITH, 'p.is_primary = 1');
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$join</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The relationship to join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$alias</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The alias of the join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$conditionType</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The condition type constant. Either ON or WITH.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$condition</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|<a href="classes/Doctrine-ORM-Query-Expr-Comparison.html"><abbr title="\Doctrine\ORM\Query\Expr\Comparison">Comparison</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Composite.html"><abbr title="\Doctrine\ORM\Query\Expr\Composite">Composite</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Func.html"><abbr title="\Doctrine\ORM\Query\Expr\Func">Func</abbr></a>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The condition for the join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$indexBy</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The index for the join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_join#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Expr\Join::ON|Expr\Join::WITH|null $conditionType</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_leftJoin">
|
|
leftJoin()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_leftJoin" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1072</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Creates and adds a left join over an entity association to the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">leftJoin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$join</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$alias</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$conditionType</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|<a href="classes/Doctrine-ORM-Query-Expr-Comparison.html"><abbr title="\Doctrine\ORM\Query\Expr\Comparison">Comparison</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Composite.html"><abbr title="\Doctrine\ORM\Query\Expr\Composite">Composite</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Func.html"><abbr title="\Doctrine\ORM\Query\Expr\Func">Func</abbr></a>|null </span><span class="phpdocumentor-signature__argument__name">$condition</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$indexBy</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>The entities in the joined association will be fetched as part of the query
|
|
result if the alias used for the joined association is placed in the select
|
|
expressions.</p>
|
|
<code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->leftJoin('u.Phonenumbers', 'p', Expr\Join::WITH, 'p.is_primary = 1');
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$join</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The relationship to join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$alias</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The alias of the join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$conditionType</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The condition type constant. Either ON or WITH.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$condition</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|<a href="classes/Doctrine-ORM-Query-Expr-Comparison.html"><abbr title="\Doctrine\ORM\Query\Expr\Comparison">Comparison</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Composite.html"><abbr title="\Doctrine\ORM\Query\Expr\Composite">Composite</abbr></a>|<a href="classes/Doctrine-ORM-Query-Expr-Func.html"><abbr title="\Doctrine\ORM\Query\Expr\Func">Func</abbr></a>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The condition for the join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$indexBy</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The index for the join.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_leftJoin#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Expr\Join::ON|Expr\Join::WITH|null $conditionType</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_orderBy">
|
|
orderBy()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_orderBy" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1323</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Specifies an ordering for the query results.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">orderBy</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|<a href="classes/Doctrine-ORM-Query-Expr-OrderBy.html"><abbr title="\Doctrine\ORM\Query\Expr\OrderBy">OrderBy</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$sort</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$order</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Replaces any previously specified orderings, if any.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$sort</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|<a href="classes/Doctrine-ORM-Query-Expr-OrderBy.html"><abbr title="\Doctrine\ORM\Query\Expr\OrderBy">OrderBy</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The ordering expression.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$order</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The ordering direction.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_orHaving">
|
|
orHaving()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_orHaving" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1299</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Adds a restriction over the groups of the query, forming a logical
|
|
disjunction with any existing having restrictions.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">orHaving</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$having</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$having</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The restriction to add.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_orWhere">
|
|
orWhere()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_orWhere" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1196</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Adds one or more restrictions to the query results, forming a logical
|
|
disjunction with any previously specified restrictions.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">orWhere</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->where('u.id = 1')
|
|
->orWhere('u.id = 2');
|
|
</code>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_orWhere#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\Doctrine\ORM\where()">where()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_resetDQLPart">
|
|
resetDQLPart()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_resetDQLPart" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1522</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Resets single DQL part.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">resetDQLPart</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$part</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$part</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_resetDQLParts">
|
|
resetDQLParts()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_resetDQLParts" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1502</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Resets DQL parts.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">resetDQLParts</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array<string|int, string>|null </span><span class="phpdocumentor-signature__argument__name">$parts</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$parts</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, string>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_resetDQLParts#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>list<string>|null $parts</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_select">
|
|
select()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_select" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">783</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Specifies an item that is to be returned in the query result.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">select</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$select</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Replaces any previously specified selections, if any.</p>
|
|
<code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u', 'p')
|
|
->from('User', 'u')
|
|
->leftJoin('u.Phonenumbers', 'p');
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$select</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The selection expressions.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_set">
|
|
set()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_set" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1105</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets a new value for a field in a bulk update query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">set</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->update('User', 'u')
|
|
->set('u.password', '?1')
|
|
->where('u.id = ?2');
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The key/field to set.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The value, expression, placeholder, etc.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setCacheable">
|
|
setCacheable()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setCacheable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">198</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Enable/disable second level query (result) caching for this query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setCacheable</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$cacheable</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$cacheable</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setCacheMode">
|
|
setCacheMode()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setCacheMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">272</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setCacheMode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$cacheMode</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$cacheMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setCacheMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Cache::MODE_* $cacheMode</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setCacheRegion">
|
|
setCacheRegion()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setCacheRegion" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">220</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setCacheRegion</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$cacheRegion</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$cacheRegion</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setFirstResult">
|
|
setFirstResult()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setFirstResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">660</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the position of the first result to retrieve (the "offset").</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setFirstResult</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$firstResult</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$firstResult</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The first result to return.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setLifetime">
|
|
setLifetime()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setLifetime" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">250</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the life-time for this query into second level cache.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setLifetime</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$lifetime</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$lifetime</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setMaxResults">
|
|
setMaxResults()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setMaxResults" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">685</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the maximum number of results to retrieve (the "limit").</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setMaxResults</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$maxResults</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$maxResults</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The maximum number of results to retrieve.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setParameter">
|
|
setParameter()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setParameter" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">565</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets a query parameter for the query being constructed.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setParameter</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|int </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|int|null </span><span class="phpdocumentor-signature__argument__name">$type</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->where('u.id = :user_id')
|
|
->setParameter('user_id', 1);
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The parameter position or name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The parameter value.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>ParameterType::* or \Doctrine\DBAL\Types\Type::* constant</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setParameters">
|
|
setParameters()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setParameters" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">599</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets a collection of query parameters for the query being constructed.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setParameters</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$parameters</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->where('u.id = :user_id1 OR u.id = :user_id2')
|
|
->setParameters(new ArrayCollection(array(
|
|
new Parameter('user_id1', 1),
|
|
new Parameter('user_id2', 2)
|
|
)));
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$parameters</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The query parameters to set.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_setParameters#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>ArrayCollection<int, Parameter>|mixed[] $parameters</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_update">
|
|
update()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_update" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">896</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Turns the query being built into a bulk update query that ranges over
|
|
a certain entity type.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">update</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$update</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$alias</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->update('User', 'u')
|
|
->set('u.password', '?1')
|
|
->where('u.id = ?2');
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$update</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The class/type whose instances are subject to the update.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$alias</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The class/type alias used in the constructed query.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_where">
|
|
where()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_where" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1136</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Specifies one or more restrictions to the query result.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">where</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$predicates</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Replaces any previously specified restrictions, if any.</p>
|
|
<code class="prettyprint">
|
|
$qb = $em->createQueryBuilder()
|
|
->select('u')
|
|
->from('User', 'u')
|
|
->where('u.id = ?');
|
|
<pre class="prettyprint"><code class="prettyprint">// You can optionally programmatically build and/or expressions
|
|
$qb = $em->createQueryBuilder();
|
|
|
|
$or = $qb->expr()->orX();
|
|
$or->add($qb->expr()->eq('u.id', 1));
|
|
$or->add($qb->expr()->eq('u.id', 2));
|
|
|
|
$qb->update('User', 'u')
|
|
->set('u.password', '?')
|
|
->where($or);
|
|
</code></pre>
|
|
</code>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$predicates</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The restriction predicates.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_findRootAlias">
|
|
findRootAlias()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_findRootAlias" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">413</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Finds the root entity alias of the joined entity.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">findRootAlias</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$alias</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$parentAlias</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$alias</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The alias of the new join entity</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$parentAlias</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The parent entity alias of the join relationship</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getDQLForDelete">
|
|
getDQLForDelete()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLForDelete" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1427</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">getDQLForDelete</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getDQLForSelect">
|
|
getDQLForSelect()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLForSelect" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1444</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">getDQLForSelect</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getDQLForUpdate">
|
|
getDQLForUpdate()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLForUpdate" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1435</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">getDQLForUpdate</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getReducedDQLQueryPart">
|
|
getReducedDQLQueryPart()
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getReducedDQLQueryPart" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-querybuilder.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php">QueryBuilder.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1481</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">getReducedDQLQueryPart</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$queryPartName</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$options</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$queryPartName</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$options</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#method_getReducedDQLQueryPart#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>array<string, mixed> $options</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<div class="phpdocumentor-modal" id="source-view">
|
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
|
<div class="phpdocumentor-modal-container">
|
|
<div class="phpdocumentor-modal-content">
|
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/vendor/doctrine/orm/lib/Doctrine/ORM/QueryBuilder.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
|
</div>
|
|
<button data-exit-button class="phpdocumentor-modal__close">×</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
(function () {
|
|
function loadExternalCodeSnippet(el, url, line) {
|
|
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
|
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
|
|
const language = 'php';
|
|
|
|
const code = document.createElement('code');
|
|
code.className = 'language-' + language;
|
|
pre.textContent = '';
|
|
pre.setAttribute('data-line', line)
|
|
code.textContent = 'Loading…';
|
|
pre.appendChild(code);
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
|
|
xhr.open('GET', src, true);
|
|
|
|
xhr.onreadystatechange = function () {
|
|
if (xhr.readyState !== 4) {
|
|
return;
|
|
}
|
|
|
|
if (xhr.status < 400 && xhr.responseText) {
|
|
code.textContent = xhr.responseText;
|
|
Prism.highlightElement(code);
|
|
return;
|
|
}
|
|
|
|
if (xhr.status === 404) {
|
|
code.textContent = '✖ Error: File could not be found';
|
|
return;
|
|
}
|
|
|
|
if (xhr.status >= 400) {
|
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
|
return;
|
|
}
|
|
|
|
code.textContent = '✖ Error: An unknown error occurred';
|
|
};
|
|
|
|
xhr.send(null);
|
|
});
|
|
}
|
|
|
|
const modalButtons = document.querySelectorAll("[data-modal]");
|
|
const openedAsLocalFile = window.location.protocol === 'file:';
|
|
if (modalButtons.length > 0 && openedAsLocalFile) {
|
|
console.warn(
|
|
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
|
|
'browsers block XHR requests when a page is opened this way'
|
|
);
|
|
}
|
|
|
|
modalButtons.forEach(function (trigger) {
|
|
if (openedAsLocalFile) {
|
|
trigger.setAttribute("hidden", "hidden");
|
|
}
|
|
|
|
trigger.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
const modal = document.getElementById(trigger.dataset.modal);
|
|
if (!modal) {
|
|
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
|
|
return;
|
|
}
|
|
modal.classList.add("phpdocumentor-modal__open");
|
|
|
|
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
|
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
|
exits.forEach(function (exit) {
|
|
exit.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
modal.classList.remove("phpdocumentor-modal__open");
|
|
});
|
|
});
|
|
});
|
|
});
|
|
})();
|
|
</script>
|
|
|
|
</article>
|
|
</section>
|
|
<section class="phpdocumentor-on-this-page__sidebar">
|
|
|
|
<section class="phpdocumentor-on-this-page__content">
|
|
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
|
|
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#toc-constants">Constants</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#toc-properties">Properties</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#toc-methods">Methods</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="phpdocumentor-on-this-page-section__title">Constants</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#constant_DELETE">DELETE</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#constant_SELECT">SELECT</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#constant_STATE_CLEAN">STATE_CLEAN</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#constant_STATE_DIRTY">STATE_DIRTY</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#constant_UPDATE">UPDATE</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Properties</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_cacheable">$cacheable<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_cacheMode">$cacheMode<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_cacheRegion">$cacheRegion<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_lifetime">$lifetime<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_dql">$dql<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_dqlParts">$dqlParts<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_em">$em<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_firstResult">$firstResult<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_joinRootAliases">$joinRootAliases<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_maxResults">$maxResults<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_parameters">$parameters<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_state">$state<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#property_type">$type<a href="classes/Doctrine-ORM-QueryBuilder.html"></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method___clone">__clone()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method___construct">__construct()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method___toString">__toString()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_add">add()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_addCriteria">addCriteria()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_addGroupBy">addGroupBy()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_addOrderBy">addOrderBy()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_addSelect">addSelect()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_andHaving">andHaving()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_andWhere">andWhere()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_delete">delete()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_distinct">distinct()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_expr">expr()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_from">from()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getAllAliases">getAllAliases()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getCacheMode">getCacheMode()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getCacheRegion">getCacheRegion()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQL">getDQL()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLPart">getDQLPart()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLParts">getDQLParts()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getEntityManager">getEntityManager()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getFirstResult">getFirstResult()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getLifetime">getLifetime()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getMaxResults">getMaxResults()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getParameter">getParameter()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getParameters">getParameters()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getQuery">getQuery()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootAlias">getRootAlias()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootAliases">getRootAliases()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getRootEntities">getRootEntities()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getState">getState()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getType">getType()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_groupBy">groupBy()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_having">having()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_indexBy">indexBy()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_innerJoin">innerJoin()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_isCacheable">isCacheable()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_join">join()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_leftJoin">leftJoin()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_orderBy">orderBy()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_orHaving">orHaving()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_orWhere">orWhere()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_resetDQLPart">resetDQLPart()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_resetDQLParts">resetDQLParts()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_select">select()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_set">set()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_setCacheable">setCacheable()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_setCacheMode">setCacheMode()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_setCacheRegion">setCacheRegion()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_setFirstResult">setFirstResult()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_setLifetime">setLifetime()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_setMaxResults">setMaxResults()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_setParameter">setParameter()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_setParameters">setParameters()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_update">update()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_where">where()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_findRootAlias">findRootAlias()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLForDelete">getDQLForDelete()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLForSelect">getDQLForSelect()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getDQLForUpdate">getDQLForUpdate()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-QueryBuilder.html#method_getReducedDQLQueryPart">getReducedDQLQueryPart()</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
|
|
</section>
|
|
</div>
|
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
|
<section class="phpdocumentor-search-results__dialog">
|
|
<header class="phpdocumentor-search-results__header">
|
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
|
</header>
|
|
<section class="phpdocumentor-search-results__body">
|
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
</div>
|
|
<a href="classes/Doctrine-ORM-QueryBuilder.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
cssVars({});
|
|
</script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
|
</body>
|
|
</html>
|