Model hits


Permissions

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

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
article_idObjectIDarticlex
campaign_idObjectIDtouchbasecampaign
createdAtDate
emailStringx
ip_addressString
reader_idObjectIDreaderx
sourceString
timestampDatex
uidStringx
updatedAtDate
urlString
user_agentString

Field Details

__v

{
  "path": "__v",
  "instance": "Number",
  "options": {},
  "validators": []
}

_deleted

{
  "path": "_deleted",
  "instance": "Boolean",
  "options": {
    "default": false,
    "index": true
  },
  "validators": [],
  "defaultValue": false
}

_id

{
  "path": "_id",
  "instance": "ObjectID",
  "options": {
    "auto": true,
    "type": "ObjectId"
  },
  "validators": [],
  "defaultValue": "[Function]"
}

_owner_id

{
  "path": "_owner_id",
  "instance": "ObjectID",
  "options": {
    "link": "User",
    "map_to": "_owner",
    "index": true
  },
  "validators": []
}

_updated_by_id

{
  "path": "_updated_by_id",
  "instance": "ObjectID",
  "options": {
    "link": "User",
    "map_to": "_updated_by",
    "index": true
  },
  "validators": []
}

article_id

{
  "path": "article_id",
  "instance": "ObjectID",
  "options": {
    "link": "article",
    "index": true
  },
  "validators": []
}

campaign_id

{
  "path": "campaign_id",
  "instance": "ObjectID",
  "options": {
    "link": "touchbasecampaign"
  },
  "validators": []
}

createdAt

{
  "path": "createdAt",
  "instance": "Date",
  "options": {
    "immutable": true
  },
  "validators": []
}

email

{
  "path": "email",
  "instance": "String",
  "options": {
    "index": true
  },
  "validators": []
}

ip_address

{
  "path": "ip_address",
  "instance": "String",
  "options": {},
  "validators": []
}

reader_id

{
  "path": "reader_id",
  "instance": "ObjectID",
  "options": {
    "link": "reader",
    "index": true
  },
  "validators": []
}

source

{
  "path": "source",
  "instance": "String",
  "options": {},
  "validators": []
}

timestamp

{
  "path": "timestamp",
  "instance": "Date",
  "options": {
    "index": true
  },
  "validators": []
}

uid

{
  "path": "uid",
  "instance": "String",
  "options": {
    "index": true
  },
  "validators": []
}

updatedAt

{
  "path": "updatedAt",
  "instance": "Date",
  "options": {},
  "validators": []
}

url

{
  "path": "url",
  "instance": "String",
  "options": {},
  "validators": []
}

user_agent

{
  "path": "user_agent",
  "instance": "String",
  "options": {},
  "validators": []
}