{"action":"created","issue":{"url":"https://api.github.com/repos/waitaction/Json2Sql/issues/1","repository_url":"https://api.github.com/repos/waitaction/Json2Sql","labels_url":"https://api.github.com/repos/waitaction/Json2Sql/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/waitaction/Json2Sql/issues/1/comments","events_url":"https://api.github.com/repos/waitaction/Json2Sql/issues/1/events","html_url":"https://github.com/waitaction/Json2Sql/issues/1","id":196255510,"number":1,"title":"也许你该关注下这个","user":{"login":"xlievo","id":5188470,"avatar_url":"https://avatars.githubusercontent.com/u/5188470?v=3","gravatar_id":"","url":"https://api.github.com/users/xlievo","html_url":"https://github.com/xlievo","followers_url":"https://api.github.com/users/xlievo/followers","following_url":"https://api.github.com/users/xlievo/following{/other_user}","gists_url":"https://api.github.com/users/xlievo/gists{/gist_id}","starred_url":"https://api.github.com/users/xlievo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlievo/subscriptions","organizations_url":"https://api.github.com/users/xlievo/orgs","repos_url":"https://api.github.com/users/xlievo/repos","events_url":"https://api.github.com/users/xlievo/events{/privacy}","received_events_url":"https://api.github.com/users/xlievo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-18T03:10:46Z","updated_at":"2016-12-18T05:37:10Z","closed_at":null,"body":"nodejs的jsonorm\r\nhttp://docs.sequelizejs.com/en/latest/docs/querying/"},"comment":{"url":"https://api.github.com/repos/waitaction/Json2Sql/issues/comments/267804572","html_url":"https://github.com/waitaction/Json2Sql/issues/1#issuecomment-267804572","issue_url":"https://api.github.com/repos/waitaction/Json2Sql/issues/1","id":267804572,"user":{"login":"waitaction","id":10597479,"avatar_url":"https://avatars.githubusercontent.com/u/10597479?v=3","gravatar_id":"","url":"https://api.github.com/users/waitaction","html_url":"https://github.com/waitaction","followers_url":"https://api.github.com/users/waitaction/followers","following_url":"https://api.github.com/users/waitaction/following{/other_user}","gists_url":"https://api.github.com/users/waitaction/gists{/gist_id}","starred_url":"https://api.github.com/users/waitaction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waitaction/subscriptions","organizations_url":"https://api.github.com/users/waitaction/orgs","repos_url":"https://api.github.com/users/waitaction/repos","events_url":"https://api.github.com/users/waitaction/events{/privacy}","received_events_url":"https://api.github.com/users/waitaction/received_events","type":"User","site_admin":false},"created_at":"2016-12-18T05:37:10Z","updated_at":"2016-12-18T05:37:10Z","body":"设想一下，APP端与服务器通讯时是怎么传数据的？ \r\n会有一个接口，比如是 query/userinfo   ,  post的内容是 {  name:\"xiaoming\" , age:18   }  ， 但是数据库字段增加，两端同时改。\r\n所以才会有json2sql这种设想 ,接口是 query    { userinfo:{ name:\"xiaoming\" , age:18 , city:\"sz\"  } }  ,\r\n这种方式就是 { Equ:{ userinfo:{ name:\"xiaoming\" , age:18 , city:\"sz\"  } } }  的简写,\r\nEqu可以换成 { Greater:{ userinfo:{ name:\"xiaoming\" , age:18 , city:\"sz\"  } } }  ，而用Greater比$rt语义更加清晰，安卓程序员鬼知道$rt是啥。userinfo里面就是类成员，安卓端也很好序列化。\r\n所以，语言不一样，决定着思维方式不一样。\r\n"}}
{"actor":{"display_login":"waitaction"}}