Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Add text to emoji comments #6785

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/datamodel/links.rst
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ property allows us to modify the link property of the existing link.

.. code-block:: edgeql

# 🚫
# 🚫 Does not work
insert Movie {
title := 'The Incredible Hulk',
characters := {(
Expand All @@ -720,7 +720,7 @@ property allows us to modify the link property of the existing link.

.. code-block:: edgeql

# ✅
# ✅ Works!
insert Movie {
title := 'The Incredible Hulk',
characters := assert_distinct((
Expand Down
4 changes: 2 additions & 2 deletions docs/edgeql/for.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ workaround. For example, you might want to write this conditional:

.. code-block::

# 🚫
# 🚫 Does not work
with admin := (select User filter .role = 'admin')
select admin if exists admin
else (insert User {role := 'admin'});
Expand All @@ -99,7 +99,7 @@ Here's how you can accomplish the same thing using the workaround:

.. code-block:: edgeql

# ✅
# ✅ Works!
with
admin := (select User filter .role = 'admin'),
new := (for _ in (select () filter not exists admin) union (
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/cheatsheet/link_properties.rst
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Querying

.. code-block:: edgeql

# 🚫
# 🚫 Does not work
insert Movie {
title := 'The Incredible Hulk',
actors := {(
Expand All @@ -232,7 +232,7 @@ Querying

.. code-block:: edgeql

# ✅
# ✅ Works!
insert Movie {
title := 'The Incredible Hulk',
actors := assert_distinct((
Expand Down
Loading