Is borax ionic or covalent?

Borax is a sodium compound and therefore ionic.