push_with_value

Function push_with_value 

Source
pub fn push_with_value<V>(
    reference: &DatabaseReference,
    value: V,
) -> DatabaseResult<DatabaseReference>
where V: Into<Value>,
Expand description

Generates a child location with an auto-generated push ID and writes the provided value.

Mirrors the modular push(ref, value) overload from the JS SDK (packages/database/src/api/Reference_impl.ts).