Server Side Swift with Vapor · Fluent Queries | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/870225-server-side-swift-with-vapor/lessons/15
1 Like

Hi @0xtim ,
I’am having a weird error in the search handler. Any idea where this comes from.

image

In the downloaded materials it works fine.

Maybe -
at: “term”

@0xtim Can you please help with this when you get a chance? Thank you - much appreciated! :]

@shogunkaramazov try importing Fluent at top of this file :wink:

import Fluent

1 Like

@boersma you’re missing the import Fluent statement to pull in those operators

Indeed, importing Fluent solves the problem!
Thanks @shogunkaramazov and @0xtim .

1 Like

Hello @0xtim,

I really like the way to present your material plus Vapor is great.

1 Like