Save Selected Data on API to my Database

I have a dropdown i am using api to display the country names on my dropdown, i want to store the selected data on dropdown and store into my database.



What’s the data type of location in your DB?

What do you mean data type?

Is it a text, or a number, or a geographic address, or something else?

it is a text