@get


Description:

public string? @get (string uid, out string? out_revision, out CacheColumnValues? out_other_columns, Cancellable? cancellable = null) throws Error

Returns an object with the given uid.

This function does not consider locally deleted objects. The out_revision is set to the object revision, if not null. Free it with g_free when no longer needed. Similarly the out_other_columns contains a column name to column value strings for additional columns which had been requested when calling initialize_sync, if not null . Free the returned CacheColumnValues with free, when no longer needed.

Parameters:

this

an Cache

uid

a unique identifier of an object

out_revision

an out variable for a revision of the object, or null to ignore

out_other_columns

an out variable for CacheColumnValues other columns, as defined when creating the this, or null to ignore

cancellable

optional Cancellable object, or null

Returns:

An object with the given uid. Free it with g_free, when no longer needed. Returns null on error, like when the object could not be found.