• tailor.tech
Get a demo
  • API
  • Documentation
  • Support
  • Home

    • Introduction
  • Getting started

    • Overview
    • Quickstart
    • Console
    • Core Concepts
    • GraphQL basics
    • CUE basics
  • Tutorials

    • Overview
    • Managing data schema
    • Activating services
    • Chaining queries
    • Setting up StateFlow
    • Setting up Auth
    • Setting up Executor
    • Develop app from scratch
  • Using the Tailor Platform

    • TailorCLI
    • Application
    • Tailor DB
    • Auth
    • Pipeline
    • StateFlow
    • Executor
    • Events
    • Function
    • Secret Manager
    • Seeding data
    • Integration guide
  • Administration

    • Workspace
    • Accounts and Roles
    • Data Retention
  • References

    • Tailor CLI
    • Terraform Import
    • Platform Limits
    • Timeouts
    • Tailor Console
    • Scripting Languages
    • Test Tailor Platform Apps
    • Security
  • Sign in

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.

GitHub

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.

GitHub

Vector Search

Discover how to use Kysely with TailorDB's vector similarity search functionality to find records based on semantic similarity.

GitHub

With pdfme

A sample for executing pdfme in the Function service.

GitHub

With Secret Manager

A sample for executing Secret Manager in the Function service.

© tailor inc.2025. All rights reserved.

Follow us on GitHub