Hi all,
I want to fetch some data as list of dict from database. For that I could use
frappe.get_all(…) function.
But how can I get only limited number of rows from database?
If anyone knows, can you please share here?
Hi all,
I want to fetch some data as list of dict from database. For that I could use
frappe.get_all(…) function.
But how can I get only limited number of rows from database?
If anyone knows, can you please share here?
Hi @Amalendu,
You can pass arguments limit=no_of_rows, as_dict=1
to get n no of rows as dict.