You have your nomenclature a little off.
There are two type of SSD connections, SATA and M.2
There are also two types of SSD interfaces, SATA and PCIe (yes I know this is where it gets confusing).
The slowest is to use a SATA drive with a SATA interface.
You can also get an M.2 drive with a SATA interface. there is NO performance advantage, the only advantage is the physical size.
Finally you can get an M.2 drive with a PCIe NVMe interface, this drive has a large performance advantage, however one you barely notice in day to day computing. Its the best one though due to size and speed.