I'm trying to call a stored procedure from via a laravel route and i keep getting an error:
{"error":{"type":"Illuminate\\Database\\QueryException","message":"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'emailAddress' in 'field list' (SQL: CALL getLibraryList(emailAddress))",
I believe the call I'm making is correct:
$result = DB::statement('CALL getLibraryList('.$email.')');
return $result;
You might find some trouble to execute them. Here are some options:
Or
And, the dirtiest one:
Found out a way to get this working here: