Class QqqScriptUtils
java.lang.Object
com.kingsrook.qqq.backend.core.actions.scripts.QqqScriptUtils
- All Implemented Interfaces:
Serializable
Object made available to scripts for access to qqq api (e.g., query, insert,
etc, plus object constructors).
Before scripts knew about the API, this class made sense and was used.
But, when scripts gained knowledge of the API, then it felt like this class could
be deleted... but, what about, a QQQ deployment without the API module...
In that case, we might still want this class... think about it.
And/Or - it turns out - sometimes using QQQ directly is "better" (?) than using
an api - so - this object may be available for other use cases (e.g., getting
a record's backendDetails (e.g., for full json from a source backend api)).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(String tableName, QQueryFilter filter) void
void
delete
(String tableName, Serializable primaryKey) void
void
void
query
(QueryInput queryInput) query
(String tableName, QQueryFilter filter) void
void
-
Constructor Details
-
QqqScriptUtils
public QqqScriptUtils()
-
-
Method Details
-
newQueryInput
-
newQueryFilter
-
newFilterCriteria
-
newFilterOrderBy
-
newRecord
-
query
- Throws:
QException
-
query
- Throws:
QException
-
insert
- Throws:
QException
-
insert
- Throws:
QException
-
update
- Throws:
QException
-
update
- Throws:
QException
-
delete
- Throws:
QException
-
delete
- Throws:
QException
-
delete
- Throws:
QException
-
delete
- Throws:
QException
-