createDate property

String get createDate

The creation date column.

The value is unix timestamp seconds in android.

The value is NSDate in iOS/macOS.

Please use ColumnUtils.convertDateTimeToSql to convert date value.

Simple use: DateColumnWhereCondition.

Exmaple:

final date = DateTime(2015, 6, 15);
final condition = DateColumnWhereCondition(

Implementation

//    column: CustomColumns.base.createDate,
//    operator: '<=',
//    value: date,
//  );
/// ```
///
/// {@endtemplate}
String get createDate {
  if (isAndroid) {
    return 'date_added';
  } else if (isDarwin) {
    return 'creationDate';
  } else {
    throw UnsupportedError('Unsupported platform with createDate');
  }
}