Can you map a midi device via a Lightning connector?

Last year I tried connecting my MacBook Pro (2017) with a lightning adaptor to CDJ-2000’s, it didn’t work so I played with someone elses CD case and it was total rubbish, hated the night.

Now I’ve been offered a gig and the venue has CDJ-2000’s, I don’t want to go there and be like oh the mac is broken because its not, its up to date. Will it definitely map when I connect it with a lightning connector and press link? (saw this on a youtube video)

Thanks for your answer, hopefully I can get it by Saturday night. Plenty of time anyway.