alejandrohenriquez

Results comments of alejandrohenriquez

Hi: Do you know if upsert method is available ??? Best Regards

I have the same issue, but is with properties with **type** different than **object** ``` @model({name: 'bidding', settings: {postgresql: {schema: 'core_bidding'}}}) export class Bidding extends Entity { @property({ type: 'string',...

Hello, I have the same issue with insert_from method. Do you know how to fix this? ``` Traceback (most recent call last): File "...\venv\lib\site-packages\peewee.py", line 2484, in execute_sql cursor.execute(sql, params...

I need update rows only when source_cd is different than 1 *Code* ``` person_alias = Person.alias('x') inst = person_alias.insert_from( person_raw_ext.select(person_raw_ext.ext_person_cd, person_raw_ext.ext_person_formatted_cd, person_raw_ext.ext_person_name, person_raw_ext.ext_source_cd), [person_alias.code, person_alias.formatted, person_alias.name, person_alias.source_cd]) \ .on_conflict(conflict_target=Person.code, preserve=[Person.name,...

Thanks @jonathan-casarrubias