Examples
These examples show how to use the Function service to run JavaScript as serverless functions on the Tailor Platform, deploy them, and trigger them via Pipeline resolvers.
Here are the code examples.
We use TypeScript in the examples.
Insert Default Value
Learn how to use Kysely with TailorDB to insert records with default values, including using defaultValues() and SQL DEFAULT for specific columns.
Vector Search
Discover how to use Kysely with TailorDB's vector similarity search functionality to find records based on semantic similarity.
With pdfme
A sample for executing pdfme in the Function service.
With Secret Manager
A sample for executing Secret Manager in the Function service.