Remove -[PGConnection insertRow:]

It can be used in a way that leads to security issues, so it's better
not to have it at all.

FossilOrigin-Name: 30633656b050a8f3f41989bed97bb200a0a583bd47e69fd36f2ae450c4bad606
This commit is contained in:
Jonathan Schleifer 2024-08-11 17:22:05 +00:00
parent 8929ac1bbb
commit 7a728f9bd3
3 changed files with 0 additions and 75 deletions

View file

@ -59,9 +59,6 @@ OF_APPLICATION_DELEGATE(Test)
parameters: [OFNumber numberWithInt: 2],
[OFNumber numberWithInt: 2],
[OFNumber numberWithBool: true], nil];
[_connection insertRow: [OFDictionary dictionaryWithKeysAndObjects:
@"content", @"Hallo!", @"name", @"foo", nil]
intoTable: @"test"];
result = [_connection executeCommand: @"SELECT * FROM test"];
OFLog(@"%@", result);