NEW

SurrealDB 4 is here, introducing SurrealDB Earth and SurrealDS!

Learn more
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 `📚📚`:`🧑‍🎓💪💪💪`;


Output · Query 1
{
  id: place:`ma_bibliothèque`
}
Output · Query 2
{
  id: place:`良い図書館`
}
Output · Query 3
{
  id: place:`𒂍𒁾𒁀𒀀`
}
Output · Query 4
{
  id: `📚📚`:`🧑‍🎓💪💪💪`
}


THE PLATFORM

Everything an application and its agents know. Five surfaces, one engine.

IN PRODUCTION

Trusted at scale. Samsung, Nvidia, Verizon, Tencent, and Walmart run on SurrealDB.

14,000+

Developers building on SurrealDB Cloud

4M+

Developers building on SurrealDB worldwide

FROM THE TEAMS

SurrealDB gives us a foundation where we can unify semantic search, knowledge graphs, and AI-driven decision making without stitching together multiple systems. Collapsing responsibility into SurrealDB has become our default engineering posture.
Justin Foley

VP of Engineering, Later