How does looker recognize Primary Keys when autogenerates code ?

Hello everyone,

My question is: How does looker recognize Primary Keys when autogenerates code (after having created a project)?

Is there a possibility that the Primary Keys identified by Looker are not Primary Keys ?

Thank you !