(self, service_name, ctx, **params)
return retval
Runs service with standard interface.
            Convenient to use for calling select services from other services
            For example to return data after doing save
Runs service with standard interface.
            Convenient to use for calling select services from other services
            For example to return data after doing save
Runs service with standard interface . Convenient to use for calling select services from other services For example to return data after doing save
def retval_dbservice(self, service_name, ctx, **params):
        """ Runs service with standard interface.
            Convenient to use for calling select services from other services
            For example to return data after doing save
        """
        self.raise_if_errors()
        service_sql = "select * from %s( {i_context}, {i_params} );" % skytools.quote_fqident(service_name)
        service_params = { "i_context": ctx, "i_params": self.make_record(params) }
        results = self.run_query( service_sql, service_params )
        retval = self.retval()
        for r in results:
            retval.append((r.res_code, r.res_text, r.res_rows))
        return retval
def retval_dbservice ( self , service_name , ctx , * * params ) : self . raise_if_errors ( ) service_sql = "select * from %s( {i_context}, {i_params} );" % skytools . quote_fqident ( service_name ) service_params = { "i_context" : ctx , "i_params" : self . make_record ( params ) } results = self . run_query ( service_sql , service_params ) retval = self . retval ( ) for r in results : retval . append ( ( r . res_code , r . res_text , r . res_rows ) ) return retval