Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/?q=database&page=2&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=database

Returns an array of strings in format "username" or "username/projectName"

Found 7397 results for "database"(2741ms)

notionGetDatabase2 file matches

@stevekrouse•Updated 1 year ago

GlancergeneratePDF.ts2 matches

@lightweight•Updated 3 hours ago
100 console.log("demoData for examplePDF: ", page);
101
102 // TODO: hit the "Glancer interactions" database and filter by "Glancer demos"
103 // this way, we don't have the formula string to deal with
104 // build a controller for getDemoActions.ts with a filter
105
106 // get the "Glancer interactions" from Notion
107 // data is stored in the "Glancer interactions" database and attached to the demo via relation
108 // we can't really use the relation property b/c that only holds an array of page IDs in Notion
109 // so, in Notion, we use a formula to transform the relation array into a string

GlancergetDatabase.ts2 matches

@lightweight•Updated 3 hours ago
1import { Hono } from "npm:hono";
2import { getDatabase } from "../../controllers/getDatabase.ts";
3
4const app = new Hono();
9 // hit the controller to return data
10 try {
11 const data = await getDatabase(id);
12 //
13 console.log(data);