Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/postgres/query/encode.ts>encodeArgument

PostgreSQL driver for Deno
Extremely Popular
Go to Latest
function encodeArgument
import { encodeArgument } from "https://deno.land/x/postgres@v0.19.0/query/encode.ts";

Encode (serialize) a value that can be used in a query execution.

Parameters

value: unknown

Returns

EncodedArg