TYPO3CMS-Reference-CoreApi icon indicating copy to clipboard operation
TYPO3CMS-Reference-CoreApi copied to clipboard

List of "Comparing operations" missing from migrated Extbase persistance documentation?

Open sypets opened this issue 1 year ago • 0 comments

Parts from the Extbase Fluid Book were migrated to TYPO3 Explained a while ago (I think since TYPO3 v11).

Current behavior

This is missing or can't be found:

List of comparision operators (equals(), lessThanOrEqual() etc.). In the Extbase Book, there is this list for v10.4:

equals($propertyName, $operand, $caseSensitive = TRUE)
in($propertyName, $operand)
contains($propertyName, $operand)
like($propertyName, $operand)
lessThan($propertyName, $operand)
lessThanOrEqual($propertyName, $operand)
greaterThan($propertyName, $operand)
greaterThanOrEqual($propertyName, $operand)
between($propertyName, $operandLower, $operandUpper) // inclusive comparison

Also, this list:

logicalAnd($constraint1, $constraint2)
logicalOr($constraint1, $constraint2)
logicalNot($constraint)

https://docs.typo3.org/m/typo3/book-extbasefluid/10.4/en-us/6-Persistence/3-implement-individual-database-queries.html

I searched for "lessThanOrEqual" directly in the main branch of TYPO3 Explained:

grep -r lessThanOrEqual Documentation

No results

Also:

grep -r logicalNot Documentation

No results

Expected behavior/output

What I would like to see, is a full reference, ideally this list from the book. The structure in "TYPO3 Explained" and the examples are good.

Links

  • Extbase book (v10.4): https://docs.typo3.org/m/typo3/book-extbasefluid/10.4/en-us/6-Persistence/3-implement-individual-database-queries.html
  • TYPO3 Explained (main): https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ExtensionArchitecture/Extbase/Reference/Domain/Repository.html

TYPO3 versions

  • 11-main

sypets avatar May 17 '24 07:05 sypets