⚠ 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. ⚠

  •     

profile picture

Can I use Created View on Mysql to GC?



xmyownprisonx

xmyownprisonx
  • profile picture
  • Member

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?

 


buoncri

buoncri
  • profile picture
  • Member

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