You are not logged in.
Pages: 1
Hi all,
i just want to delete all entries from the database table by pressing a button. That's why i don't do it manually.
I tried to use the following code:
Client.Delete(Record);
and also
Client.Delete(Record, ID);
and
Client.Delete(Record, 'id=?', ['']);
I get an error which says that the version 'delete' is overload.
Anyone has an idea how i can delete all entries in a table easily with mORMot?
Thanks.
Offline
Offline
Thanks, works well.
So I can't use it without any parameters like
Server.Delete(TSQLMyRecordClass);
right?
I always have to insert parameters?
Offline
Pages: 1