"""设备信息"""type DDevice{""" 设备ID """ deviceId:ID """ AndroidID """ androidIds:[String] @search(by:[hash,trigram]) """ OAID """ oaids:[String] @search(by:[hash,trigram])""" IMEI """ imeis:[String] @search(by:[hash,trigram])}
测试添加数据mutation { addDDevice(input: {androidIds: ["a", "b", "c"], oaids: ["a", "b", "c"], imeis: ["a", "b", "c"]}) { numUids }}
使用ANDROID ID 查询{ queryDDevice(filter: {androidIds: {in: "a"}}) { deviceId }}
使用OAID ID 查询{ queryDDevice(filter: {oaids: {in: "a"}}) { deviceId }}
(图片来源网络,侵删)
0 评论