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=1&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 7281 results for "database"(1054ms)

No matches found in users.

Try switching to another result type using the tabs above.

EEPPortalApp.tsx5 matches

@solomonferede•Updated 1 hour ago
903 }
904
905 // Insert into database
906 const result = await sqlite.execute(
907 `INSERT INTO ${KEY}_employees (
1297 );
1298 }
1299 return new Response(JSON.stringify({ success: false, message: "Database error creating task." }), {
1300 status: 500,
1301 headers: { "Content-Type": "application/json" },
1408 } catch (error) {
1409 console.error("Error fetching single task:", error);
1410 return new Response(JSON.stringify({ success: false, message: "Database error fetching task." }), {
1411 status: 500,
1412 headers: { "Content-Type": "application/json" },
1652 );
1653 }
1654 return new Response(JSON.stringify({ success: false, message: "Database error updating task." }), {
1655 status: 500,
1656 headers: { "Content-Type": "application/json" },
1715 } catch (error) {
1716 console.error("Error deleting task:", error);
1717 return new Response(JSON.stringify({ success: false, message: "Database error deleting task." }), {
1718 status: 500,
1719 headers: { "Content-Type": "application/json" },

EEPPortaltaskDashboard.tsx1 match

@solomonferede•Updated 1 hour ago
3import React, { useEffect, useMemo, useState } from "https://esm.sh/react@18.2.0";
4
5// Updated status colors to match your database
6const STATUS_COLORS = {
7 pending: "#FFA500", // orange

bookmarksDatabase

@s3thi•Updated 3 months ago

sqLiteDatabase1 file match

@ideofunk•Updated 6 months ago