Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while using ziminji/ objective-c-sql-query-builder ? #28

Open
Bhushan30 opened this issue Mar 10, 2014 · 0 comments
Open

Error while using ziminji/ objective-c-sql-query-builder ? #28

Bhushan30 opened this issue Mar 10, 2014 · 0 comments

Comments

@Bhushan30
Copy link

I had included all .h & .m file from src folder to my application in supporting files folder.
I created tbl_FileWatcher:
@interface tbl_FileWatcher : ZIMOrmModel
{
@Protected
NSData *_FileWatcher;
NSString *_FolderPath;
NSString *_Ext;
}
@Property (strong, nonatomic) NSData *FileWatcher;
@Property (strong, nonatomic) NSString *FolderPath;
@Property (strong, nonatomic) NSString *Ext;
@EnD

And in myApplication.m
ZIMOrmSelectStatement *select = [[ZIMOrmSelectStatement alloc] initWithModel: [tbl_FileWatcher class]];
NSArray *records = [select query];
for (tbl_FileWatcher *record in records) {
NSLog(@"%@: %@", [record pk], [record firstName]);
}}

When i build my application "Unexpected '@' in program" error occur at many places:
one of them is:
ZIMSqlAlterTableStatement.m
[array addObject: @[[attributes objectForKey: @"name"], attributes]];

What is wrong? Any suggestion.. Is thr any xcode project which uses this ziminji / objective-c-sql-query-builder?

Please give me feedback... Thanks in advance...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant