method Ref.isLoaded
Was the row loaded by load(..)?
Example:
use std.orm { Ref, ref }
fn describe<T>(r: &Ref<T>) -> str {
if r.isLoaded() { "loaded" } else { "only the id" }
}pub(api) fn isLoaded() -> boolSince. 1.0.0-beta
Returns
bool
Effects
none declared (pure unless the body says otherwise)
Defined in: std/orm/orm.oxl:134