record.models module¶
- class record.models.ModuleLog(*args, **kwargs)[源代码]¶
基类:
Model
统计Module类埋点数据(MV/MC)
- class CountType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
基类:
IntegerChoices
- MC = 3¶
- MV = 2¶
- exception DoesNotExist¶
基类:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
基类:
MultipleObjectsReturned
- explore_name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- explore_version¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_next_by_time(*, field=<django.db.models.fields.DateTimeField: time>, is_next=True, **kwargs)¶
- get_previous_by_time(*, field=<django.db.models.fields.DateTimeField: time>, is_next=False, **kwargs)¶
- get_type_display(*, field=<django.db.models.fields.IntegerField: type>)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- module_name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- page¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- platform¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- time¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- type¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- user¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- user_id¶
- class record.models.PageLog(*args, **kwargs)[源代码]¶
基类:
Model
统计Page类埋点数据(PV/PD)
- class CountType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
基类:
IntegerChoices
- PD = 1¶
- PV = 0¶
- exception DoesNotExist¶
基类:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
基类:
MultipleObjectsReturned
- explore_name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- explore_version¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_next_by_time(*, field=<django.db.models.fields.DateTimeField: time>, is_next=True, **kwargs)¶
- get_previous_by_time(*, field=<django.db.models.fields.DateTimeField: time>, is_next=False, **kwargs)¶
- get_type_display(*, field=<django.db.models.fields.IntegerField: type>)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- page¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- platform¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- time¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- type¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- user¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- user_id¶