---
title: "SurrealDB Stream #19: Embedded Scripting Functions | Livestream | SurrealDB"
description: "Join Data Evangelist Alexander Fridriksson and Software Engineer Mees Delzenne, as they explore SurrealDB’s Embedded JavaScript scripting functions and answer your questions live throughout the stream.\n\nThis stream will focus on:\n⭐ What Embedded scripting functions are\n⭐ Why it makes sense to have them in the DB\n⭐ Examples of how they work\n\nSurrealDB:\n🌍 SurrealDB Twitter: https://surrealdb.com/\n👉 SurrealDB GitHub: https://github.com/surrealdb/surrealdb\n🐦 SurrealDB Twitter: https://twitter.com/surrealdb\n👨‍💻 SurrealDB LinkedIn: https://www.linkedin.com/company/surrealdb/\n👉 SurrealDB Discord: https://discord.com/invite/surrealdb\n📸 SurrealDB Instagram: https://www.instagram.com/surrealdb\n👚 Shop the merch: https://surrealdb.store/\n\nWhat is SurrealDB?\nSurrealDB is an end-to-end cloud-native database designed for modern applications, including web, mobile, serverless, Jamstack, backend, and traditional applications. With SurrealDB, you can simplify your database and API infrastructure, reduce development time, and build secure, performant apps quickly and cost-effectively.\n\nKey features of SurrealDB:\n⭐ Reduces development time: SurrealDB simplifies your database and API stack by removing the need for most server-side components, allowing you to build secure, performant apps faster and cheaper.\n⭐ Real-time collaborative API backend service: SurrealDB functions as both a database and an API backend service, enabling real-time collaboration.\n⭐ Support for multiple querying languages: SurrealDB supports SQL querying from client devices, GraphQL, ACID transactions, WebSocket connections, structured and unstructured data, graph querying, full-text indexing, and geospatial querying.\n⭐ Granular access control: SurrealDB provides row-level permissions-based access control, giving you the ability to manage data access with precision."
url: https://surrealdb.com/events/orYh-uat-lQ
---

# SurrealDB Stream #19: Embedded Scripting Functions

Livestream · Aired Thursday, February 29 at 4:00 PM GMT

```
Join Data Evangelist Alexander Fridriksson and Software Engineer Mees Delzenne, as they explore SurrealDB’s Embedded JavaScript scripting functions and answer your questions live throughout the stream.

This stream will focus on:
⭐ What Embedded scripting functions are
⭐ Why it makes sense to have them in the DB
⭐ Examples of how they work

SurrealDB:
🌍 SurrealDB Twitter: https://surrealdb.com/
👉 SurrealDB GitHub: https://github.com/surrealdb/surrealdb
🐦 SurrealDB Twitter: https://twitter.com/surrealdb
👨‍💻 SurrealDB LinkedIn: https://www.linkedin.com/company/surrealdb/
👉 SurrealDB Discord: https://discord.com/invite/surrealdb
📸 SurrealDB Instagram: https://www.instagram.com/surrealdb
👚 Shop the merch: https://surrealdb.store/

What is SurrealDB?
SurrealDB is an end-to-end cloud-native database designed for modern applications, including web, mobile, serverless, Jamstack, backend, and traditional applications. With SurrealDB, you can simplify your database and API infrastructure, reduce development time, and build secure, performant apps quickly and cost-effectively.

Key features of SurrealDB:
⭐ Reduces development time: SurrealDB simplifies your database and API stack by removing the need for most server-side components, allowing you to build secure, performant apps faster and cheaper.
⭐ Real-time collaborative API backend service: SurrealDB functions as both a database and an API backend service, enabling real-time collaboration.
⭐ Support for multiple querying languages: SurrealDB supports SQL querying from client devices, GraphQL, ACID transactions, WebSocket connections, structured and unstructured data, graph querying, full-text indexing, and geospatial querying.
⭐ Granular access control: SurrealDB provides row-level permissions-based access control, giving you the ability to manage data access with precision.
```

THE PLATFORM

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

Database

Document, graph, vector, time-series and relational in one engine.

![Five data models as dotted tiles: documents, graph, vector, time-series and relational](https://surrealdb.com/assets/static/platform-database.DUdumYDz.avif)

Read more

[Database](https://surrealdb.com/surrealdb)

Agent Memory

What an agent learns, with its source and its time, in the same engine.

![A timeline of remembered facts, each with its source](https://surrealdb.com/assets/static/platform-agent-memory.Cvv8D5Wl.avif)

Read more

[Agent Memory](https://surrealdb.com/agent-memory)

Cloud

Managed clusters in the regions you choose, scaled on demand.

![Clusters in three regions on a world map, each running or scaling](https://surrealdb.com/assets/static/platform-cloud.--QZnaVi.avif)

Read more

[Cloud](https://surrealdb.com/cloud)

Studio

Query, explore and design the schema from the browser.

![A SurrealQL query in Studio and the schema graph under it](https://surrealdb.com/assets/static/platform-studio.7ykBFNLq.avif)

Read more

[Studio](https://surrealdb.com/studio)

MCP

Every model that speaks MCP reaches the database and the memory directly.

![Three models connected through MCP to the database and Agent Memory](https://surrealdb.com/assets/static/platform-mcp.D_oH0_wm.avif)

Read more

[MCP](https://surrealdb.com/mcp)

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

GET STARTED

## Start building with SurrealDB. One data layer for AI, from object storage to agent memory.

[Start free with SurrealDB](https://studio.surrealdb.com/current/instances/deploy) [View other events](https://surrealdb.com/events)

![ISO 27001](https://surrealdb.com/assets/static/iso.BzQy4FFy.svg)

![AICPA SOC 2 Type 2](https://surrealdb.com/assets/static/aicpa-soc.CE_YjqhK.svg)

![Cyber Essentials](https://surrealdb.com/assets/static/cyber-essentials.CtbmbYfL.svg)

![GDPR](https://surrealdb.com/assets/static/gdpr.IadR7loS.svg)

![Cyber Essentials Plus](https://surrealdb.com/assets/static/cyber-essentials-plus.Cl5P05xe.svg)

```json
{"@context":"https://schema.org","@type":"Event","name":"SurrealDB Stream #19: Embedded Scripting Functions","description":"Join Data Evangelist Alexander Fridriksson and Software Engineer Mees Delzenne, as they explore SurrealDB’s Embedded JavaScript scripting functions and answer your questions live throughout the stream.\n\nThis stream will focus on:\n⭐ What Embedded scripting functions are\n⭐ Why it makes sense to have them in the DB\n⭐ Examples of how they work\n\nSurrealDB:\n🌍 SurrealDB Twitter: https://surrealdb.com/\n👉 SurrealDB GitHub: https://github.com/surrealdb/surrealdb\n🐦 SurrealDB Twitter: https://twitter.com/surrealdb\n👨‍💻 SurrealDB LinkedIn: https://www.linkedin.com/company/surrealdb/\n👉 SurrealDB Discord: https://discord.com/invite/surrealdb\n📸 SurrealDB Instagram: https://www.instagram.com/surrealdb\n👚 Shop the merch: https://surrealdb.store/\n\nWhat is SurrealDB?\nSurrealDB is an end-to-end cloud-native database designed for modern applications, including web, mobile, serverless, Jamstack, backend, and traditional applications. With SurrealDB, you can simplify your database and API infrastructure, reduce development time, and build secure, performant apps quickly and cost-effectively.\n\nKey features of SurrealDB:\n⭐ Reduces development time: SurrealDB simplifies your database and API stack by removing the need for most server-side components, allowing you to build secure, performant apps faster and cheaper.\n⭐ Real-time collaborative API backend service: SurrealDB functions as both a database and an API backend service, enabling real-time collaboration.\n⭐ Support for multiple querying languages: SurrealDB supports SQL querying from client devices, GraphQL, ACID transactions, WebSocket connections, structured and unstructured data, graph querying, full-text indexing, and geospatial querying.\n⭐ Granular access control: SurrealDB provides row-level permissions-based access control, giving you the ability to manage data access with precision.","startDate":"2024-02-29T16:00:20.000Z","image":"https://i.ytimg.com/vi/orYh-uat-lQ/maxresdefault.jpg","url":"https://surrealdb.com/events/orYh-uat-lQ","eventStatus":"https://schema.org/EventScheduled","eventAttendanceMode":"https://schema.org/OnlineEventAttendanceMode","location":{"@type":"VirtualLocation","url":"https://surrealdb.com/events/orYh-uat-lQ"},"organizer":{"@type":"Organization","name":"SurrealDB","url":"https://surrealdb.com","logo":{"@type":"ImageObject","url":"https://surrealdb.com/assets/static/logo.BG7_TG2b.svg"}}}
```

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://surrealdb.com"},{"@type":"ListItem","position":2,"name":"Events","item":"https://surrealdb.com/events"},{"@type":"ListItem","position":3,"name":"SurrealDB Stream #19: Embedded Scripting Functions","item":"https://surrealdb.com/events/orYh-uat-lQ"}]}
```

```json
{"@context":"https://schema.org","@type":"Organization","@id":"https://surrealdb.com/#organization","name":"SurrealDB","url":"https://surrealdb.com","logo":"https://surrealdb.com/assets/static/logo.BG7_TG2b.svg","description":"SurrealDB is the context and memory layer for AI agents. A multi-model database for documents, graphs, vectors, and time-series.","foundingDate":"2022","legalName":"SurrealDB Ltd","identifier":{"@type":"PropertyValue","propertyID":"GB-COH","value":"13615201"},"address":{"@type":"PostalAddress","streetAddress":"3rd Floor, 1 Ashley Road","addressLocality":"Altrincham","addressRegion":"Cheshire","postalCode":"WA14 2DT","addressCountry":"GB"},"contactPoint":[{"@type":"ContactPoint","contactType":"customer support","email":"support@surrealdb.com","url":"https://surrealdb.com/contact","availableLanguage":"English"},{"@type":"ContactPoint","contactType":"sales","email":"info@surrealdb.com","url":"https://surrealdb.com/contact","availableLanguage":"English"},{"@type":"ContactPoint","contactType":"security","email":"security@surrealdb.com","url":"https://surrealdb.com/.well-known/security.txt","availableLanguage":"English"},{"@type":"ContactPoint","contactType":"legal","email":"legal@surrealdb.com","url":"https://surrealdb.com/legal","availableLanguage":"English"}],"hasCertification":[{"@type":"Certification","name":"SOC 2 Type 2"},{"@type":"Certification","name":"GDPR"},{"@type":"Certification","name":"Cyber Essentials Plus"},{"@type":"Certification","name":"ISO 27001"}],"owns":[{"@type":"SoftwareApplication","name":"SurrealDB","url":"https://surrealdb.com/surrealdb"},{"@type":"SoftwareApplication","name":"Agent Memory","url":"https://surrealdb.com/agent-memory"}],"knowsAbout":["multi-model databases","document databases","graph databases","vector search","time-series databases","SurrealQL","Agent Memory","real-time databases","embedded databases","context layer","graph ontology","distributed database","knowledge graphs","distributed transaction protocols","highly-scalable databases"],"sameAs":["https://www.wikidata.org/wiki/Q124316308","https://github.com/surrealdb/surrealdb","https://twitter.com/surrealdb","https://www.youtube.com/@surrealdb","https://www.linkedin.com/company/surrealdb","https://discord.gg/surrealdb","https://www.reddit.com/r/surrealdb","https://www.instagram.com/surrealdb","https://medium.com/surrealdb","https://dev.to/surrealdb"]}
```
