Exclude fields that are NULL from the result.
FossilOrigin-Name: 6d068f6ae7e9cc62599ef05dfea2ae44890d8f4a3a142724180b165ce59d06ff
This commit is contained in:
parent
f640a29849
commit
f232e248cb
2 changed files with 25 additions and 4 deletions
6
test.m
6
test.m
|
@ -31,9 +31,9 @@ OF_APPLICATION_DELEGATE(Test)
|
|||
[connection executeCommand: @"INSERT INTO test (id, name, content) "
|
||||
@"VALUES($1, $2, $3)"
|
||||
parameters: @[@"1", @"foo", @"Hallo Welt!"]];
|
||||
[connection executeCommand: @"INSERT INTO test (id, name, content) "
|
||||
@"VALUES($1, $2, $3)"
|
||||
parameters: @[@"2", @"bla", @"Blup!!"]];
|
||||
[connection executeCommand: @"INSERT INTO test (id, content) "
|
||||
@"VALUES($1, $2)"
|
||||
parameters: @[@"2", @"Blup!!"]];
|
||||
|
||||
result = [connection executeCommand: @"SELECT * FROM test"];
|
||||
of_log(@"%@", result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue