Loading...
Loading...
Compare original and translation side by side
dxs odata executedxs odata execute$selectschema properties$select$selectschema properties$select$select$selectdxs odata execute -c <id> -q 'Entity?$top=1&$select=Id,Field1,Field2'dxs odata execute -c <id> -q 'Entity?$top=1&$select=Id,Field1,Field2'dxs odata execute -c <id> -q 'Entity?$top=1&$select=Id,Field1&$expand=Account($select=Id,Name),Status($select=Id,Name)'dxs odata execute -c <id> -q 'Entity?$top=1&$select=Id,Field1&$expand=Account($select=Id,Name),Status($select=Id,Name)'dxs odata execute -c <id> -q 'Entity?$top=1&$select=Id,Field1&$expand=Lines($select=Id,LineNumber;$expand=OrderLine($select=OrderId;$expand=Material($select=Id,Name)))'dxs odata execute -c <id> -q 'Entity?$top=1&$select=Id,Field1&$expand=Lines($select=Id,LineNumber;$expand=OrderLine($select=OrderId;$expand=Material($select=Id,Name)))'$top=1$top=1$filter$filter$expand$filter$expand$filterEntity(0)0Entity?$top=1Entity(0)Entity(0)undefinedEntity(0)0Entity?$top=1Entity(0)Entity(0)undefinedundefinedundefined| Rule | Detail |
|---|---|
| Use during testing to avoid timeouts |
| Single quotes | Always use |
| Required on every expand clause |
| Nested option separator | Semicolons ( |
400 on | Field name is wrong — check |
| Composite keys | Check |
| 规则 | 详情 |
|---|---|
始终使用 | 测试时使用以避免超时 |
| 单引号 | |
| 每个expand子句都必须包含 |
| 嵌套选项分隔符 | 括号内使用分号( |
| 字段名错误——请检查 |
| 复合键 | 检查 |
| Mistake | Fix |
|---|---|
| Always include |
Double quotes for | Use single quotes — shell expands |
Not using | Large queries timeout — always limit during development |
Testing with | 404 is expected — validate structure via |
| 错误 | 修复方法 |
|---|---|
| 始终加入 |
使用双引号包裹含 | 使用单引号——Shell会展开双引号中的 |
查询测试时未使用 | 大型查询会超时——开发阶段始终限制返回数量 |
使用 | 404是预期结果——先通过 |