Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Datastore Category vs. String: what is the difference?

Looking at Category it seems that it is basically a String. I fail to see any advantages of using Category over String.
What is the difference, and why would I use Category instead of String?

like image 245
Jaroslav Záruba Avatar asked Jun 14 '10 12:06

Jaroslav Záruba


1 Answers

If you call entity.to_xml(), a category will come back as an Atom category element.

Beyond that, it's just a string.

like image 114
Drew Sears Avatar answered Nov 07 '22 18:11

Drew Sears