Welcome, Guest
Username: Password: Remember me

TOPIC: purpose of the PARAM field of type text

purpose of the PARAM field of type text 04 Aug 2012 06:28 #2976

  • e-struct
  • e-struct's Avatar
  • Offline
  • Senior Member
  • Posts: 76
  • Thank you received: 4
  • Karma: 5
I would like to know what is the purpose of the PARAM field present in every SQL table generated by JCOOK.
Thanks.
The administrator has disabled public write access.

Re: purpose of the PARAM field of type text 04 Aug 2012 10:04 #2980

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
params is not used at all for the moment.

It is deprecated in V2.0 for the name 'attribs'

The idea behind that is to store JSON formated object to dynamically extend the table informations.
Obviously, the datas stored inside cannot be used easily in SQL queries, so it is only to store attached specific parameters of contents to each item.

For the moment Cook do not use it, and even your component do not access to it.
In future, I would like your model to store there in a very useful and easy way to parse any kind of object.


But anyway, you can remove it if you don't like it.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: purpose of the PARAM field of type text 04 Aug 2012 11:21 #2982

  • e-struct
  • e-struct's Avatar
  • Offline
  • Senior Member
  • Posts: 76
  • Thank you received: 4
  • Karma: 5
So, is it possible to inhibit its creation directly from JCOOK interface ? (should be easier)
Some hidden variable or backdoor or anything else ?
Last Edit: 04 Aug 2012 11:21 by e-struct.
The administrator has disabled public write access.

Re: purpose of the PARAM field of type text 04 Aug 2012 11:42 #2983

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
No, I would have told you.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.153 seconds

Get Started