#2 Re: mORMot 1 » EZSQLException - Duplicate Entry for key 'PRIMARY' -SQLite3 » 2020-03-12 01:55:45

ab wrote:

There is already a record with the ID=6.
I guess some items are created outside the ORM scope, and conflicts with the ID internal sequence maintained within TSQLRestServer.

Can you tell me how to solve this problem?

for balance the load, when two servers using mORMot write the same table of the same database, will there be the problem of duplicate ID keys?

thx!

Board footer

Powered by FluxBB