Insert or update an object and returns the assigned id.
object
Future<int> put(OBJ object, {bool replaceOnConflict = false}) => putAll([object]).then((ids) => ids[0]);