0
1
Fork 0
hedera-web-mindshore/js/sql/object.js

33 lines
634 B
JavaScript
Raw Normal View History

/**
* Base class for all objects on this library.
2016-12-20 09:32:17 +00:00
*/
2016-09-26 09:28:47 +00:00
module.exports = new Class
({
Extends: Vn.Object
/**
* Renders the object as an SQL string.
*
* @param {Sql.Batch} batch The batch used to render the object
* @return {String} The SQL string
2016-12-20 09:32:17 +00:00
*/
,render: function (batch) {}
/**
* Gets if the object is ready to be rendered.
*
* @return {boolean} %true if the object is ready, %false otherwise
2016-12-20 09:32:17 +00:00
*/
,isReady: function ()
{
return true;
}
/**
* Through the query looking for containers and adds it to the batch.
*
* @return {Sql.Batch} batch The batch
2016-12-20 09:32:17 +00:00
*/
,findHolders: function (batch) {}
});