Page MenuHomeSealhub

calculated-field.js
No OneTemporary

calculated-field.js

const CalculatedFieldType = require("./calculated-field-type.js");
const CalculatedField = function(App, field_name, type_declaration, type_params){
this.app = App;
this.name = field_name,
this.type = new CalculatedFieldType(App, type_declaration);
this.params = type_params;
};
CalculatedField.prototype.get_value = function(context, item, db_document){
return this.type.get_value(context, this.params, item, db_document);
};
module.exports = CalculatedField;

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 11, 08:51 (16 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
982671
Default Alt Text
calculated-field.js (469 B)

Event Timeline