PageSourceSearch

https://kysely.dev/assets/js/d99d8925.de812bbe.js

js kysely.dev collected 2026-10-02 02:58:28 UTC 1,853 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkkysely_site=globalThis.webpackChunkkysely_site||[]).push([[6531],{9922(e,t,s){s.r(t),s.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>n,metadata:()=>i,toc:()=>p});const i=JSON.parse('{"id":"recipes/raw-sql","title":"Raw SQL","description":"Use the Kysely sql template tag to execute raw SQL and compose SQL snippets within type-safe queries.","source":"@site/docs/recipes/0003-raw-sql.md","sourceDirName":"recipes","slug":"/recipes/raw-sql","permalink":"/docs/recipes/raw-sql","draft":false,"unlisted":false,"editUrl":"https://github.com/kysely-org/kysely/tree/master/site/docs/recipes/0003-raw-sql.md","tags":[],"version":"current","sidebarPosition":3,"frontMatter":{"description":"Use the Kysely sql template tag to execute raw SQL and compose SQL snippets within type-safe queries."},"sidebar":"tutorialSidebar","previous":{"title":"Data types","permalink":"/docs/recipes/data-types"},"next":{"title":"Splitting query building and execution","permalink":"/docs/recipes/splitting-query-building-and-execution"}}');var r=s(1058),a=s(4801);const n={description:"Use the Kysely sql template tag to execute raw SQL and compose SQL snippets within type-safe queries."},c="Raw SQL",l={},p=[];function o(e){const t={a:"a",h1:"h1",header:"header",p:"p",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"raw-sql",children:"Raw SQL"})}),"\n",(0,r.jsxs)(t.p,{children:["You can execute raw SQL strings and pass raw SQL snippets to pretty much any method or function\nusing the ",(0,r.jsx)(t.a,{href:"https://kysely-org.github.io/kysely-apidoc/interfaces/Sql.html",children:"sql template tag"}),"."]})]})}function d(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.