Welcome, Guest
Username: Password: Remember me

TOPIC: ORM ??

ORM ?? 03 Aug 2017 04:42 #15262

  • jonathanbell
  • jonathanbell's Avatar
  • Offline
  • Premium Member
  • Posts: 141
  • Thank you received: 4
  • Karma: 1
I Dont want to use ORM- the option to have exploded sql calls dosn't work when you down load the component it still creates ORM type calls.. I had a hack that I could adjust the sql in a modal to look at another components tables. I now cant do this because of ORM.
The administrator has disabled public write access.

ORM ?? 03 Aug 2017 10:12 #15263

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3702
  • Thank you received: 975
  • Karma: 141
Yes, thats true, and I cannot do another way, only few calls are done with ORM because they are too long, complex and repetitive.
Can I ask you why don't you want ORM system ?
Coding is now a piece of cake
The administrator has disabled public write access.

ORM ?? 03 Aug 2017 19:38 #15264

  • jonathanbell
  • jonathanbell's Avatar
  • Offline
  • Premium Member
  • Posts: 141
  • Thank you received: 4
  • Karma: 1
Hi Chef, mainly because I now don't know how to make changes to what was once a standard query. I was shown a hack so I could adjust a query to point to another component, which worked brilliant for me. "From a previous Post" . ORM seems to have pretty much taken that option away from me. I'm learning as fast as I can to keep up with the changes, but as a novice programmer I am struggling.


PS; Apart from that little issue ORM works fine..
The administrator has disabled public write access.

ORM ?? 05 Aug 2017 05:58 #15265

  • jonathanbell
  • jonathanbell's Avatar
  • Offline
  • Premium Member
  • Posts: 141
  • Thank you received: 4
  • Karma: 1
Can the exploded option simply not use ORM and produce the querry's how they where before ORM. Currently the exploded version seems to still use ORM. Why would we have an option for exploded or ORM if the Exploded still uses ORM?
The administrator has disabled public write access.

ORM ?? 05 Aug 2017 07:55 #15266

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3702
  • Thank you received: 975
  • Karma: 141
No, that's not possible to remove ORM call completely.

Cook has always produced its code with some kind of ORM before to call it ORM.
For instance, for the accesses propagations -> it was the function prepareQueryAccesses()
And so on...

For N:m filter, the same, it has NEVER existed without ORM
There is no option for disabling ORM, it is only an option to explode the calls, but yes some calls will still exist with ORM.

Can you give me an example for what you are triing to do ?
Coding is now a piece of cake
The administrator has disabled public write access.

ORM ?? 14 Aug 2017 13:59 #15269

  • Romkabouter
  • Romkabouter's Avatar
  • Offline
  • Elite Member
  • Posts: 290
  • Thank you received: 125
  • Karma: 48
Maybe we can help you to recreate the hacked bit?
The administrator has disabled public write access.

ORM ?? 14 Aug 2017 17:46 #15270

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3702
  • Thank you received: 975
  • Karma: 141
Yes, is it complicated ?

Can you describe the SQL command you need, please ?
And so, if it is not possible with ORM, maybe I can improve ORM, that would be the best if it is possible and makes sense in terms of reusability
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.081 seconds

Get Started