Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2949 Lượt xem
ProgrammingError: operator does not exist: integer = boolean
LINE 1: SELECT "user_id" FROM "hr_employee" WHERE "id" IN (false)
                                                       ^
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello aneesh,

When Employee is created its not creating its related user automatically for that employee.

so, while you are creating employee related user field is False.

Ảnh đại diện
Huỷ bỏ
Tác giả

Can you please explain more?

@aneesh, Yes of course.

say how can i help?