Skip to content

Commit

Permalink
Update queries.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrant88 authored Dec 20, 2024
1 parent 7f0131a commit 85ee200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _docs/snippets/queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public function getNext()
Nützlich bei `select`-Feldtypen im **MetaInfo** AddOn oder im **YFormbuilder**

```php
SELECT name, filename AS id FROM rex_project_icon UNION SELECT ' Bitte wählen' AS name, "" AS id ORDER BY name
SELECT 'Bitte wählen' AS name, "" AS id UNION (SELECT name, filename AS id FROM rex_project_icon ORDER BY name)
```

### Beispielausgabe in der Sidebar eines Artikels
Expand Down

0 comments on commit 85ee200

Please sign in to comment.