Answers for "psycopg2.ProgrammingError: can't adapt type 'hr.employee'"

0

psycopg2.ProgrammingError: can't adapt type 'hr.employee'

contract_data = {
             'name': name,
             'job_id': job_id,
             'employee_id': hr_employee_id.id,
             'type_id': 1,
             'struct_id': 1,
             'date_start': date_joined,
             'wage': 0.0,
             'schedule_pay':'monthly'
                }
Posted by: Guest on August-23-2021

Browse Popular Code Answers by Language