Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function util.validateQueryAndParameters
import { util } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/internal/index.ts";
const { validateQueryAndParameters } = util;

Check and normalize given query and parameters.

Parameters

query: string | String | { text: string; parameters?: any; }
optional
parameters: any
optional
opt: { skipAsserts: boolean; }

Returns

{ validatedQuery: string; params: any; }