随笔分类 -  node

摘要:use function date_trunc sql: SELECT date_trunc('day',"createdAt") FROM "IAPRecords" WHERE "IAPRecords"."UserId" = 1 GROUP BY date_trunc('day',"created 阅读全文
posted @ 2018-11-08 18:34 ybleeho 阅读(741) 评论(0) 推荐(0)
摘要:Query is equal, hasone return the first instance from the collection,hasmany return the whole collection. 阅读全文
posted @ 2018-10-11 15:52 ybleeho 阅读(256) 评论(0) 推荐(0)
摘要:https://github.com/caolan/async/pull/1408 let see an example: balabala is not defined .. and the async will throw error globally. async waterfall sour 阅读全文
posted @ 2018-09-26 16:48 ybleeho 阅读(194) 评论(0) 推荐(0)
摘要:https://cnodejs.org/topic/5b568ec12860af042a217822 https://juejin.im/post/5a437441f265da43294e54c3 1.可扩展性 session是有状态的,token是无状态的,所以如果多台服务器上的应用,单点登录,基 阅读全文
posted @ 2018-09-26 12:24 ybleeho 阅读(317) 评论(0) 推荐(0)