database "蛞蝓"是什么意思
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4357007/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What does "slug" mean
提问by ajsie
Possible Duplicate:
What is the etymology of 'slug'?
可能的重复:
“slug”的词源是什么?
In CouchDB definitive guide the author used key "slug" in a document.
在 CouchDB 权威指南中,作者在文档中使用了关键的“slug”。
{
"title": "Hello World",
"slug": "hello_world"
}
What does "slug" mean and why is it used?
“slug”是什么意思,为什么要使用它?
回答by icyrock.com
Slug is used to make a name that is not acceptable for various reasons - e.g. containing special characters, too long, mixed-case, etc. - appropriate for the target usage. What target usage means is context dependent, but in general case slug is a more appropriate combination of other fields. In the above case, only one field is used - title.
Slug 用于制作由于各种原因而不能接受的名称——例如包含特殊字符、太长、大小写混合等——适合目标用途。目标用法的含义取决于上下文,但在一般情况下,slug 是其他字段的更合适的组合。在上述情况下,只使用了一个字段 - 标题。
Have a look at these SOqs, too:
也看看这些 SOq:
If you are into the origin of the term, see this:
如果您了解该术语的起源,请参阅: