Ex:
create view Myview as CREATE VIEW vwform \\ creat a vwform at my database
can i use like $this->set_table('vwform') ?
or
is the any methods that i can use my view at grocery crud?
⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠
Posted 30 January 2016 - 08:17 AM
Ex:
create view Myview as CREATE VIEW vwform \\ creat a vwform at my database
can i use like $this->set_table('vwform') ?
or
is the any methods that i can use my view at grocery crud?
Posted 01 February 2016 - 13:02 PM
Yes, you can use the view name as a table so you can view data.
P.S. Remeber to use the set_primary_key method, becouse views doesn't have a primary key that can be autodetected