Skip to content

Commit

Permalink
Clarify foreign_table_where
Browse files Browse the repository at this point in the history
The previous explanation for foreign_table_where was slightly
misleading. The examples speak for themselves, but they are
further down on the page.

The WHERE-clause is effectively appended to the existing WHERE
clause created by TYPO3 using the default values and must
start with AND.

Also, additional clauses such as ORDER BY or GROUP BY may be
added after the WHERE-clause.

Resolves: #663
  • Loading branch information
sypets committed Nov 18, 2023
1 parent 15494a4 commit 1aad31a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ foreign_table_where
:RenderType: all

The items from :ref:`foreign_table <columns-select-properties-foreign-table>`
are selected with this WHERE-clause.
are selected with this WHERE-clause. The WHERE-clause is effectively
appended to the existing WHERE-clause (which contains default constraints,
such as 'NOT deleted') and must begin with AND. Additional clauses such as
ORDER BY may be added after the WHERE-clause. The result must be a valid SQL
statement.

Field quoting
=============
Expand Down

0 comments on commit 1aad31a

Please sign in to comment.