Answer the question
In order to leave comments, you need to log in
How to fix this bug when accessing ORM?
Good afternoon!
There was a "weird error" when calling the code:
$user = User::where("USER_NAME", "=", "test") ->where("HASH_PASS", "=", "test") ->get( );
SQLSTATE[HY000]: General error: -206 Dynamic SQL Error SQL error code = -206 Column unknown HASH_PASS At line 1, column 47 (SQL: select * from "V_USERS" where "USER_NAME" = test and "HASH_PASS" = 37693cfc748049e45d87b8c7d8b9aacd)
Answer the question
In order to leave comments, you need to log in
The server complains about the absence of the HASH_PASS column in the V_USERS table
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question