mirror of
https://github.com/typesense/typesense.git
synced 2025-05-28 09:46:05 +08:00
Expose created_at timestamp in the collection summary API.
This commit is contained in:
parent
b35f73f22c
commit
87dcfb6f82
@ -13,6 +13,7 @@ nlohmann::json collection_summary_json(Collection *collection) {
|
||||
|
||||
json_response["name"] = collection->get_name();
|
||||
json_response["num_documents"] = collection->get_num_documents();
|
||||
json_response["created_at"] = collection->get_created_at();
|
||||
|
||||
const std::vector<field> & coll_fields = collection->get_fields();
|
||||
nlohmann::json fields_arr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user