2016-07-01 2 views

답변

1

라이브 쿼리는 당신이 당신은 당신이 가지고이

먼저 같은 라이브 쿼리를 활성화 할 수 있습니다 귀하의 자신의 구문 분석 서버

를 사용하는 경우 구문 분석 서버가 ​​아닌

Parse.com

에서만 사용할 수 있습니다 당신의 구문 분석 서버에 설치 라이브 쿼리

let api = new ParseServer({...,liveQuery: { 
classNames: ['Player']}}); 

다음에, 그냥 LiveQuery 서버를 만드는 몇 줄의 코드를 취합니다

// app is the Parse Server instance 
let httpServer = require('http').createServer(app); 
httpServer.listen(port); 
ParseServer.createLiveQueryServer(httpServer); 

호프가 도움이됩니다.

관련 문제