MCPcopy Index your code
hub / github.com/upstash/jstack / query

Method query

packages/jstack/src/server/procedure.ts:221–233  ·  view source on GitHub ↗
(
    handler: ({
      ctx,
      c,
      input,
    }: {
      ctx: Ctx
      c: ContextWithSuperJSON<E>
      input: InputSchema extends ZodTypeAny ? z.infer<InputSchema> : void
    }) => Return,
  )

Source from the content-addressed store, hash-verified

219 }
220
221 query<Return extends OptionalPromise<ResponseType<any>>>(
222 handler: ({
223 ctx,
224 c,
225 input,
226 }: {
227 ctx: Ctx
228 c: ContextWithSuperJSON<E>
229 input: InputSchema extends ZodTypeAny ? z.infer<InputSchema> : void
230 }) => Return,
231 ): GetOperation<InputSchema, Return, E> {
232 return this.get(handler)
233 }
234
235 post<Return extends OptionalPromise<ResponseType<any>>>(
236 handler: ({

Callers 4

queryParsingMiddlewareFunction · 0.80
base.tsFile · 0.80
with-drizzle.tsFile · 0.80
post-router.tsFile · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected