Model interactions


Permissions

User GroupCreate?Read?Update?Delete?
adminxxxx
ownerxxxx
userxx
all

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?
__vNumber
_deletedBooleanfalsex
_idObjectIDfunction defaultId() { return new oid(); }
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
app_countNumberx
books_countNumberx
countNumberx
createdAtDate
date_paidDatex
dayDatex
emailStringx
first_paymentDatex
insiderBooleanx
last_paymentDatex
lifetime_valueNumberx
monthly_valueNumberx
quicket_countNumberx
reader_idObjectIDreaderx
sailthru_blast_click_countNumberx
sailthru_blast_open_countNumberx
sailthru_transactional_click_countNumberx
sailthru_transactional_open_countNumberx
touchbasepro_click_countNumberx
touchbasepro_open_countNumberx
uidStringxx
updatedAtDate
web_countNumberx
wordpress_idNumberx

Raw definition

{
	"path": "__v",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"__v"
	],
	"options": {},
	"_index": null
}
{
	"path": "_deleted",
	"instance": "Boolean",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"_deleted"
	],
	"options": {
		"default": false,
		"index": true
	},
	"_index": true,
	"defaultValue": false
}
{
	"path": "_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [
		null
	],
	"_presplitPath": [
		"_id"
	],
	"options": {
		"auto": true,
		"type": "ObjectId"
	},
	"_index": null
}
{
	"path": "_owner_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"_owner_id"
	],
	"options": {
		"link": "User",
		"map_to": "_owner",
		"index": true
	},
	"_index": true
}
{
	"path": "_updated_by_id",
	"instance": "ObjectID",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"_updated_by_id"
	],
	"options": {
		"link": "User",
		"map_to": "_updated_by",
		"index": true
	},
	"_index": true
}
{
	"path": "app_count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"app_count"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "books_count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"books_count"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"count"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "createdAt",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [
		null,
		null
	],
	"_presplitPath": [
		"createdAt"
	],
	"options": {
		"immutable": true
	},
	"_index": null,
	"$immutable": true
}
{
	"path": "date_paid",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"date_paid"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "day",
	"instance": "Date",
	"validators": [
		{
			"message": "Path `{PATH}` is required.",
			"type": "required"
		}
	],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"day"
	],
	"options": {
		"required": true,
		"index": true
	},
	"_index": true,
	"isRequired": true,
	"originalRequiredValue": true
}
{
	"enumValues": [],
	"regExp": null,
	"path": "email",
	"instance": "String",
	"validators": [],
	"getters": [],
	"setters": [
		null,
		null
	],
	"_presplitPath": [
		"email"
	],
	"options": {
		"index": true,
		"trim": true,
		"lowercase": true
	},
	"_index": true
}
{
	"path": "first_payment",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"first_payment"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "insider",
	"instance": "Boolean",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"insider"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "last_payment",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"last_payment"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "lifetime_value",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"lifetime_value"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "monthly_value",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"monthly_value"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "quicket_count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"quicket_count"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "reader_id",
	"instance": "ObjectID",
	"validators": [
		{
			"message": "Path `{PATH}` is required.",
			"type": "required"
		}
	],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"reader_id"
	],
	"options": {
		"required": true,
		"link": "reader",
		"index": true
	},
	"_index": true,
	"isRequired": true,
	"originalRequiredValue": true
}
{
	"path": "sailthru_blast_click_count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"sailthru_blast_click_count"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "sailthru_blast_open_count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"sailthru_blast_open_count"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "sailthru_transactional_click_count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"sailthru_transactional_click_count"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "sailthru_transactional_open_count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"sailthru_transactional_open_count"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "touchbasepro_click_count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"touchbasepro_click_count"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "touchbasepro_open_count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"touchbasepro_open_count"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"enumValues": [],
	"regExp": null,
	"path": "uid",
	"instance": "String",
	"validators": [
		{
			"message": "Path `{PATH}` is required.",
			"type": "required"
		}
	],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"uid"
	],
	"options": {
		"required": true,
		"index": true,
		"unique": true
	},
	"_index": {
		"unique": true
	},
	"isRequired": true,
	"originalRequiredValue": true
}
{
	"path": "updatedAt",
	"instance": "Date",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"updatedAt"
	],
	"options": {},
	"_index": null
}
{
	"path": "web_count",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"web_count"
	],
	"options": {
		"index": true
	},
	"_index": true
}
{
	"path": "wordpress_id",
	"instance": "Number",
	"validators": [],
	"getters": [],
	"setters": [],
	"_presplitPath": [
		"wordpress_id"
	],
	"options": {
		"index": true
	},
	"_index": true
}