Organic Chemistry (8th Edition)

There is a mixture of covalent and ionic bonding. There is a covalent bond in $HCO_2$, and ionic bonding in Na and $HCO_2$ as Na gives an electron to $HCO_2$.