fabriceTOUSSAINT/lens-search

Suggestion

Closed this issue · 1 comments

Found this repo looking for uses of a library. To answer your question on line 24, where returns an array. If you want the first element of the array you can add a .first() to the end of the query. Hope it helps :)

// TODO: Why does knex respond in an array?

oh wow, didn't expect someone to stumble upon this! thanks for the tip, that's certainly good to know, thanks!