(user_id: str, node_id: str)
| 504 | {where} |
| 505 | ORDER BY updated_at DESC, id DESC |
| 506 | LIMIT ? |
| 507 | """, |
| 508 | params, |
| 509 | ).fetchall() |
| 510 | conn.close() |
| 511 | return _rows_to_nodes(rows) |
| 512 | |
| 513 | |
| 514 | def get_node(user_id: str, node_id: str) -> Optional[Dict[str, Any]]: |
| 515 | init_wiki_schema() |
| 516 | conn = db_ops.get_connection() |
| 517 | row = conn.execute( |
nothing calls this directly
no test coverage detected