# Optional projection / expression operator - e.g. maybeNullish ?:: transform(maybeNullish)

**URL:** <https://es.discourse.group/t/optional-projection-expression-operator-e-g-maybenullish-transform-maybenullish/572>\
**Category:** 💡 Ideas\
**Tags:** proposal\
**Created:** [December 8, 2020, 2:16am UTC](https://es.discourse.group/t/optional-projection-expression-operator-e-g-maybenullish-transform-maybenullish/572 "2020-12-08T02:16:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![aclaymore](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/aclaymore/32/501_2.png) [@aclaymore](https://es.discourse.group/u/aclaymore)\
**Post date:** [December 8, 2020, 9:31am UTC](https://es.discourse.group/t/optional-projection-expression-operator-e-g-maybenullish-transform-maybenullish/572/4 "2020-12-08T09:31:01Z")

</div>

This other thread may be of interest:

> [@\[syntax\] Inverse null coalescing operator](https://es.discourse.group/t/syntax-inverse-null-coalescing-operator/547):
>
> As there already exists a nullish coalescing operator (??), this implies a use case for an inverse nullish coalescing operator, which would still be a binary operator returning the second operand if the first one is not nullish (in contrast with ??). Sample use-case: when fetching a possibly nullish relation: let retrievedModel: Model | null = idOrNull === null ? null : await database.fetch\<Model\>(idOrNull); // the way it can be achieved now let retrievedModel: Model | null = idOrNull !? await…

---

_[View the full topic](https://es.discourse.group/t/optional-projection-expression-operator-e-g-maybenullish-transform-maybenullish/572)._
