Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
howto.doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Documentations
howto.doc
Commits
b26fdb71
Commit
b26fdb71
authored
3 years ago
by
Quentin Ribac
Browse files
Options
Downloads
Patches
Plain Diff
clause de bannette : entités sœurs
parent
7830bae5
No related branches found
Branches containing commit
No related tags found
2 merge requests
!14
Mise à jour arborescence
,
!13
1.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Fonctionel/Clause de bannettes/home.md
+5
-0
5 additions, 0 deletions
Fonctionel/Clause de bannettes/home.md
with
5 additions
and
0 deletions
Fonctionel/Clause de bannettes/home.md
+
5
−
0
View file @
b26fdb71
...
...
@@ -5,3 +5,8 @@ Tous les courriers du mois N-2. Si l’on est le 18 décembre, affiche tous les
```
sql
(
creation_date
>=
date_trunc
(
'month'
,
now
())
-
interval
'2 months'
)
and
(
creation_date
<
date_trunc
(
'month'
,
now
())
-
interval
'1 month'
)
```
Tous les courriers de mes entités et des entités sœurs de mon entité primaire.
```
sql
destination
in
(
select
e1
.
entity_id
from
entities
e1
,
entities
e2
where
e1
.
parent_entity_id
=
e2
.
parent_entity_id
and
e2
.
entity_id
=
@
my_primary_entity
)
or
destination
in
(
@
my_entities
)
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment