radareorg / sdb

Simple and fast string based key-value database with support for arrays and json
https://www.radare.org/
MIT License
217 stars 62 forks source link

Add MIN/MAX functions for SdbNum #60

Closed radare closed 10 years ago

radare commented 10 years ago

sdb_num_min (db, "key", 33); // if (33<(num)key) key = 33 sdb_num_max (db, "key"; 43); // if (43>(num)key) key = 43;