Differences From Artifact [9dc0039f9f]:
- File test.m — part of check-in [455ca009cd] at 2012-10-30 17:51:16 on branch trunk — Make use of OF_SENTINEL. (user: js, size: 1358) [annotate] [blame] [check-ins using]
To Artifact [f75f44e51e]:
- File test.m — part of check-in [2da674855b] at 2012-10-30 22:33:40 on branch trunk — Implement fast enumeration. (user: js, size: 1428) [annotate] [blame] [check-ins using]
- File tests/tests.m — part of check-in [8679c61b2c] at 2014-07-18 23:35:18 on branch trunk — Add a proper build system (user: js, size: 1428) [annotate] [blame] [check-ins using]
︙ | |||
37 38 39 40 41 42 43 44 45 46 47 48 49 50 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | + + + + | parameters: @2, @2, @YES, nil]; [connection insertRow: @{ @"content": @"Hallo!", @"name": @"foo" } intoTable: @"test"]; result = [connection executeCommand: @"SELECT * FROM test"]; of_log(@"%@", result); of_log(@"JSON: %@", [result JSONRepresentation]); for (id row in result) for (id col in row) of_log(@"%@", col); result = [connection executeCommand: @"SELECT COUNT(*) FROM test"]; of_log(@"%@", result); [OFApplication terminate]; } @end |