Thread
#exposed
    Ali Olfat

    Ali Olfat

    1 year ago
    hey folks, is there a way to know if my row was inserted or not with
    insertIgnore
    on a non IdTable? I'm currently querying for it right afterwards but was wondering if there is a cleaner way
    tapac

    tapac

    1 year ago
    afaik, not all databases provide such information in result, but you can setup a test and check the value returned from insertIgnore in different cases