NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
// NSError **err;
ARSQLiteConnection *connection = [ARSQLiteConnection openConnectionWithInfo:[NSDictionary \
dictionaryWithObject:[[NSBundle mainBundle]pathForResource:@"delicious" ofType:@"db" ] forKey:@"path"]\
error:nil];
[ARBase setDefaultConnection:connection];
NSLog(@"### begin to put out people:");
for (People *people in [People findAll]) {
NSLog(@"### First name:%@ ; Last Name: %@",people.firstName,people.lastName);
}
[pool release];
// NSError **err;
ARSQLiteConnection *connection = [ARSQLiteConnection openConnectionWithInfo:[NSDictionary \
dictionaryWithObject:[[NSBundle mainBundle]pathForResource:@"delicious" ofType:@"db" ] forKey:@"path"]\
error:nil];
[ARBase setDefaultConnection:connection];
NSLog(@"### begin to put out people:");
for (People *people in [People findAll]) {
NSLog(@"### First name:%@ ; Last Name: %@",people.firstName,people.lastName);
}
[pool release];