find duplicate addresses in database, stop users entering them early?

前端 未结 15 1260
长发绾君心
长发绾君心 2021-02-04 05:13

How do I find duplicate addresses in a database, or better stop people already when filling in the form ? I guess the earlier the better?

Is there any good way of abstra

15条回答
  •  抹茶落季
    2021-02-04 05:43

    Often you use constraints in a database to ensure data to be "unique" in the data-based sense.

    Regarding "isomorphisms" I think you are on your own, ie writing the code your self. If in the database you could use a trigger.

提交回复
热议问题