update Implement standardized documentation for all database modules, including purpose, rules, and requirements for each CRUD operation; refactor existing comments to follow new documentation standard ```
18 lines
378 B
TypeScript
18 lines
378 B
TypeScript
//
|
|
// PURPOSE:
|
|
// Delete specified QuizCRQuestions record
|
|
// REQ0006
|
|
//
|
|
// RULES:
|
|
// error handled by caller
|
|
// contain definition to collection only
|
|
//
|
|
|
|
import { COL_QUIZ_CR_QUESTIONS } from '@/constants';
|
|
|
|
import { pb } from '@/lib/pb';
|
|
|
|
export default function deleteQuizCRQuestions(id: string): Promise<boolean> {
|
|
return pb.collection(COL_QUIZ_CR_QUESTIONS).delete(id);
|
|
}
|