Index

RBSQLiteTableSchema.h

Classes


RBSQLiteTableSchema

Describes a SQLite table.

Properties

The table name.
public name NSString { get }

An array of RBSQLiteFieldSchema objects that describe the table columns.
public fields [RBSQLiteFieldSchema] { get }

Functions

Initializes a new RBSQLiteTableSchema object that describes a SQLite table.
@param name : The table name.
@param fields : An array of RBSQLiteFieldSchema objects.
@returns A newly initialized RBSQLiteTableSchema object representing a SQLite table.
- (nonnull instancetype)initWithName:(nonnull NSString *)name fields:(nonnull NSArray<RBSQLiteFieldSchema *> *)fields;

Retrieve the RBSQLiteFieldSchema for a specific field (SQLite column).
@param fieldName : The name of the field to return.
@returns Returns a RBSQLiteFieldSchema for the given field name.
- (nonnull RBSQLiteFieldSchema *)fieldWithName:(nonnull NSString *)fieldName;