MCPcopy Create free account
hub / github.com/cursor/community-plugins / baseQuery

Function baseQuery

apps/cursor/src/data/client-queries.ts:43–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42 const supabase = createClient();
43 const baseQuery = () =>
44 supabase
45 .from("companies")
46 .select("id, name, slug, image, location")
47 .ilike("name", `%${trimmed}%`)
48 .order("name", { ascending: true });
49
50 if (limit !== undefined) {
51 const { data } = await baseQuery().limit(limit);

Callers 1

searchCompaniesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected