[英]Is there any possibility that i search on the table name users and then specifically on the column of user table name role in mvc
var users = new Bloodhound({
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('userName'),
queryTokenizer: Bloodhound.tokenizers.whitespace,
remote: {
url: '/Api/Users/?Role=1&query=%QUERY',
wildcard: '%QUERY'
}
});
$('#supervisor').typeahead({
minLength: 1,
highlight: true
},`
Here is code这是代码
simply by adding a query parameters in the query只需在查询中添加查询参数
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.