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

33 lines
634 B
JavaScript
Executable File

/**
* Base class for all objects on this library.
**/
Sql.Object = 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
**/
,render: function (batch) {}
/**
* Gets if the object is ready to be rendered.
*
* @return {boolean} %true if the object is ready, %false otherwise
**/
,isReady: function ()
{
return true;
}
/**
* Through the query looking for containers and adds it to the batch.
*
* @return {Sql.Batch} batch The batch
**/
,findHolders: function (batch) {}
});