File tree Expand file tree Collapse file tree
storage/postgres/orm/sequelize Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,9 +92,9 @@ export default class NoteRepository {
9292 }
9393
9494 /**
95- * Fetches the raw recursive note tree data from DB
95+ * Get note row by noteId
9696 * @param noteId - note id
97- * @returns Array of raw note rows (note with parent_id)
97+ * @returns an array of note rows
9898 */
9999 public async getNoteRowByNoteId ( noteId : NoteInternalId ) : Promise < NoteRow [ ] | null > {
100100 return await this . storage . getNoteRowbyNoteId ( noteId ) ;
Original file line number Diff line number Diff line change @@ -348,9 +348,9 @@ export default class NoteSequelizeStorage {
348348 }
349349
350350 /**
351- * Fetches the raw recursive note tree data from DB
351+ * Get note row by noteId
352352 * @param noteId - note id
353- * @returns Array of raw note rows (note with parent_id)
353+ * @returns an array of note rows
354354 */
355355 public async getNoteRowbyNoteId ( noteId : NoteInternalId ) : Promise < NoteRow [ ] | null > {
356356 // Fetch all notes and relations in a recursive query
You can’t perform that action at this time.
0 commit comments