test-json-sql-project
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTest Project Primitive
测试Project原语
Self-contained: Creates test data internally
Input: Creates $papers collection (4 papers with id, title, year, citations, venue)
Operation: Project only title and year fields
Expected Output: $projected collection with 4 items, each containing only {title, year}
自包含: 内部创建测试数据
输入: 创建$papers集合(包含4篇论文,字段有id、title、year、citations、venue)
操作: 仅投影title和year字段
预期输出: $projected集合包含4个条目,每个条目仅包含{title, year}