CacheForeachFunc


Description:

[ CCode ( instance_pos = 7.9 ) ]
[ Version ( since = "3.26" ) ]
public delegate bool CacheForeachFunc (Cache cache, string uid, string revision, string object, OfflineState offline_state, string[] column_names, string[] column_values)

A callback called for each object row when using @foreach function.

Parameters:

cache

an Cache

uid

a unique object identifier

revision

the object revision

object

the object itself

offline_state

objects offline state, one of OfflineState

column_names

column names

column_values

column values

ncols

count of columns, items in column_names and column_values

user_data

user data, as used in @foreach

Returns:

true to continue, false to stop walk through.


Namespace: E
Package: libebackend-1.2