The OpenD Programming Language

find

Returns a given struct populated from the database. Assumes types known to this module.

MyItem item = db.find!(MyItem.id)(3);

If you just give a type, it assumes the relevant index is "id".

static
find
()
(,
int id
)

Meta