Get a node by its numeric node ID
Looks up a node across function_node and module_node tables using the numeric portion of the record ID.
SurrealDB instance
Numeric node ID (e.g., 4495)
Node data or null if not found
const node = await getNodeFromId(db, 4495);if (node) console.log(node.name); Copy
const node = await getNodeFromId(db, 4495);if (node) console.log(node.name);
Get a node by its numeric node ID
Looks up a node across function_node and module_node tables using the numeric portion of the record ID.