Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经看到术语“属性”和“字段”可以互换使用,我想知道正确的用法是什么。到目前为止,似乎“字段”是存储在数据库对象中的内容,而“属性”是客户端代码(例如find()调用)中使用的键值对。
find()
MongoDB 文档包含键值对,其中每对可以互换地称为“字段”、“属性”或(不太常见但并非不准确)“属性”。
使用“字段”或“属性”可能是最好的。
我有一个包含许多链接的 iframe,我正在尝试将这些链接正确复制到我的主页。我当前的代码错误地复制了链接。例如,如果 iframe 中的实际超链接是这样的:
<a href="./ok/doit.php"> 5 </a>