2015-01-23 13:09:30 +00:00
|
|
|
/**
|
|
|
|
* 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
|
2015-01-23 13:09:30 +00:00
|
|
|
({
|
|
|
|
Extends: Vn.Object
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Renders the object as an SQL string.
|
|
|
|
*
|
2017-04-05 14:06:07 +00:00
|
|
|
* @param {Object} params The params used to render the object
|
2015-01-23 13:09:30 +00:00
|
|
|
* @return {String} The SQL string
|
2016-12-20 09:32:17 +00:00
|
|
|
*/
|
2017-04-05 14:06:07 +00:00
|
|
|
,render: function () {}
|
2015-01-23 13:09:30 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
*/
|
2015-01-23 13:09:30 +00:00
|
|
|
,isReady: function ()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Through the query looking for containers and adds it to the batch.
|
|
|
|
*
|
2017-04-07 11:00:33 +00:00
|
|
|
* @return {Array} An array with the names of the found parameters
|
2016-12-20 09:32:17 +00:00
|
|
|
*/
|
2017-04-05 14:06:07 +00:00
|
|
|
,findHolders: function () {}
|
2015-01-23 13:09:30 +00:00
|
|
|
});
|