Skip to content
This repository was archived by the owner on Nov 25, 2019. It is now read-only.

AlexDenisov/iActiveRecord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5baf775 · Sep 15, 2016
Apr 10, 2013
May 25, 2013
Mar 29, 2014
Nov 19, 2014
Apr 11, 2013
Sep 15, 2016
May 20, 2013
Jan 15, 2014
Oct 7, 2013
Apr 6, 2012
Apr 8, 2014
Apr 12, 2014
Mar 24, 2015
Mar 29, 2014

Repository files navigation

The project is looking for maintainer

ActiveRecord without CoreData.

Only SQLite.

Only HardCore.

Build status

This repo available on Twitter.

Features

  • ARC support
  • unicode support
  • migrations
  • validations (with custom validator support)
  • transactions
  • support for custom data types
  • relationships (BelongsTo, HasMany, HasManyThrough)
  • sorting
  • filters (where =, !=, IN, NOT IN and else)
  • joins
  • CocoaPods support
  • no more raw sql!!!

You do not need to create tables manually - just describe your ActiveRecord and enjoy!!!

#import <ActiveRecord/ActiveRecord.h>

@interface User : ActiveRecord

@property (nonatomic, retain) NSString *name;

@end

Run tests

iActiveRecord uses Cedar for UnitTests and CocoaPods for dependency management. Follow this steps to run tests

[sudo] gem install cocoapods
pod setup
cd project_dir
pod install
open iActiveRecord.xcworkspace

Then build & run UnitTests target.

Check Wiki to see details!

Bitdeli Badge