How to query similars but not self with Knex.js?

后端 未结 0 1568
北海茫月
北海茫月 2021-01-13 01:25

I want to query similar posts but not the post itself included.

Here\'s my attempt:

export async function getSimilars(slug: string) {
  const excludeTh         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题