decreaseIterate

const decreaseIterate = (depth: Iterate)
Example
    
      const cities = coreApp.odm.newModel(
        "city",
        locationPure,
        {
          country: {
            schemaName: "country",
            type: "single",
            optional: false,
            relatedRelations: {
              cities: {
                type: "multiple",
                limit: 5,
                sort: {
                  field: "_id",
                  order: "asc",
                },
              },
            },
          },
        },
      );
      

const decreaseIterate = coreApp.schemas.decreaseIterate({ value: "hello" });

Return Of Example
    
{
  "value": "hello"
}
    
  

Parameters

  
    depth: Iterate