Skip to content

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

@Bhushan30

Description

@Bhushan30

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions