Skip to content
NEW

Introducing SurrealDB Studio, the new official app of SurrealDB

Learn more

1/5

Course content preview

4: Non-ASCII record IDs

If you need a record ID that goes beyond basic ASCII, you can put it inside ` backticks.

-- French
CREATE ONLY place:`ma_bibliothèque`;
-- Japanese works too
CREATE ONLY place:`良い図書館`;
-- And the ancient Sumerian language...
CREATE ONLY place:`𒂍𒁾𒁀𒀀`;
-- Even emojis!
CREATE ONLY `📚📚`:`🧑‍🎓💪💪💪`;


Response
-------- Query 1 --------

{
  id: place:`ma_bibliothèque`
}

-------- Query 2 --------

{
  id: place:`良い図書館`
}

-------- Query 3 --------

{
  id: place:`𒂍𒁾𒁀𒀀`
}

-------- Query 4 --------

{
  id: `📚📚`:`🧑‍🎓💪💪💪`
}


Previous

3: Using the ONLY keyword

Next lesson

5: Parentheses, indexing, and accessing fields

SurrealDB

The unified data layer for AI

Graph, vector, document, and relational in one engine.
Agent Memory that connects and retrieves context wherever your data lives.

Explore with AI

Stay in the loop

Tutorials, AI agent recipes, and product updates, every two weeks.

Independently verified

SOC 2 Type 2

GDPR

Cyber Essentials Plus

ISO 27001

Trust Centre

Copyright © 2026 SurrealDB Ltd. Registered in England and Wales. Company no. 13615201

Registered address: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, WA14 2DT, United Kingdom

Trading address: Huckletree Oxford Circus, 213 Oxford Street, London, W1D 2LG, United Kingdom