components_node/object-users-listing.js
/**
     * Get users listing according to search parameters.
     * @param {*} terminal 0 - backend | 1 - frontend
     * @param {*} returnType 1 - array | 3 - Json Object | 10 - html
     * @returns {json}
     */
Get users listing according to search parameters.
Get users listing according to search parameters .
async recordsListingGet(terminal = 0, returnType = 1)
    {
        try
        {
            this.resultsUsersListing = await FunctionsDB.genericTableGet02(gSystemConfig.configSystemDBTableUsers, 
                                                                            this.arrSearchParameters, 
                                                                            this.configSortOrder, 
                                                                            this.strNRecords, 
                                                                            FunctionsGeneric.tableFieldsQueryBuild01(gSystemConfig.configSystemDBTableUsers, "all", "string"), 
                                                                            1, 
                                                                            this.objSpecialParameters);
        }catch(asyncError){
            if(gSystemConfig.configDebug === true)
            {
                console.log(asyncError)
            }
        }finally{
        }
    }
async recordsListingGet ( terminal = 0 , returnType = 1 ) { try { this . resultsUsersListing = await FunctionsDB . genericTableGet02 ( gSystemConfig . configSystemDBTableUsers , this . arrSearchParameters , this . configSortOrder , this . strNRecords , FunctionsGeneric . tableFieldsQueryBuild01 ( gSystemConfig . configSystemDBTableUsers , "all" , "string" ) , 1 , this . objSpecialParameters ) ; } catch ( asyncError ) { if ( gSystemConfig . configDebug === true ) { console . log ( asyncError ) } } finally { } }
Get users listing according to search parameters.
Get users listing according to search parameters .
//terminal: 0 - backend | 1 - frontend //returnType: 1 - array | 3 - Json Object | 10 - html