Adjust to ObjFW changes

FossilOrigin-Name: 0af9225d647a95b3135fc711065584dcff39b523377528c734edc0ecb2b379f4
This commit is contained in:
Jonathan Schleifer 2021-04-29 22:36:08 +00:00
parent 1ab8b32076
commit f4cee3b139
6 changed files with 35 additions and 50 deletions

View file

@ -69,15 +69,15 @@ OF_APPLICATION_DELEGATE(Test)
intoTable: @"test"];
result = [_connection executeCommand: @"SELECT * FROM test"];
of_log(@"%@", result);
of_log(@"JSON: %@", [result JSONRepresentation]);
OFLog(@"%@", result);
OFLog(@"JSON: %@", [result JSONRepresentation]);
for (id row in result)
for (id col in row)
of_log(@"%@", col);
OFLog(@"%@", col);
result = [_connection executeCommand: @"SELECT COUNT(*) FROM test"];
of_log(@"%@", result);
OFLog(@"%@", result);
[OFApplication terminate];
}