custom static method
Insertable<CalendarEvent>
custom({ - Expression<int>? id,
- Expression<int>? portalId,
- Expression<DateTime>? start,
- Expression<DateTime>? end,
- Expression<bool>? allDay,
- Expression<String>? title,
- Expression<String>? place,
- Expression<String>? content,
- Expression<String>? ownerName,
- Expression<String>? creatorName,
})
Implementation
static Insertable<CalendarEvent> custom({
Expression<int>? id,
Expression<int>? portalId,
Expression<DateTime>? start,
Expression<DateTime>? end,
Expression<bool>? allDay,
Expression<String>? title,
Expression<String>? place,
Expression<String>? content,
Expression<String>? ownerName,
Expression<String>? creatorName,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (portalId != null) 'portal_id': portalId,
if (start != null) 'start': start,
if (end != null) 'end': end,
if (allDay != null) 'all_day': allDay,
if (title != null) 'title': title,
if (place != null) 'place': place,
if (content != null) 'content': content,
if (ownerName != null) 'owner_name': ownerName,
if (creatorName != null) 'creator_name': creatorName,
});
}