Please remember everything that is stored is stored in a database which Appcelerator handles. Now for your requirement. You want to store rows of a table in database. You can do that with Custom Object
And for a particular table you can specify a particular class_name to know that these rows belong to that particular table. I hope that will help you. And It should solve your issue. Let me know if that helps you.