README
Supermassive smbase-nodejs package
mysqlManager
풀 생성
createPool(config)
mybatis-mapper 생성
createMapper(dir)
커넥션 가져오기 (async/await)
getConnection()
쿼리 가져오기
getQuery(namespace, id, params)
쿼리 요청 (async/await)
count는 내부 3회 재요청 파라미터
query(namespace, id, params, count = null)
쿼리 요청 (트랜잭션 용) (async/await)
justQuery(namespace, id, params, connection)
postgresqlManager
풀 생성
createPool(config)
mybatis-mapper 생성
createMapper(dir)
커넥션 가져오기 (async/await)
getConnection()
쿼리 가져오기
getQuery(namespace, id, params)
쿼리 요청 (async/await)
count는 내부 3회 재요청 파라미터 재요청 알고리즘 구현 안 됨
query(namespace, id, params, count = null)
쿼리 요청 (트랜잭션 용) (async/await)
justQuery(namespace, id, params, connection)
트랜잭션 BEGIN (async/await)
begin(client)
트랜잭션 COMMIT (async/await)
commit(client)
트랜잭션 ROLLBACK (async/await)
rollback(client)
firebaseUtils
초기화
init(certPath, databaseURL)
token으로 메시지 전송 (async/await)
sendMessageToken(token, title, body, data = null)
topic으로 메시지 전송 (async/await)
sendMessageTopic(topic, title, body, data = null)
firebase auth token 검증 (async/await)
verifyIdToken(token)
firebase messaging 리턴
messaging()
firebase auth 리턴
auth()