×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Trying to understand userIdItem code
Dave Torr
New Member
Posts: 5
pred 3 rokmi 3 týždnami #9915
od Dave Torr
Trying to understand userIdItem code bolo vytvorené Dave Torr
I am working my way through the generated code as I will need to make a number of changes (your system has been a great saving of time so far!) and I am a little baffled
In the list model for a table in the admin part there is a function called userIdItem.
This seems to be called (from getStoreId() with parameters such as "::","getstart::","getPagination::" and "getTotal::". It then uses those parameters to create SQL containing phrases such as
WHERE id = getTotal::
which is syntactically incorrect. It does not actually cause a problem as it is caught by an exception, but seems a rather pointless exercise.
Would be grateful for any explanation!
In the list model for a table in the admin part there is a function called userIdItem.
This seems to be called (from getStoreId() with parameters such as "::","getstart::","getPagination::" and "getTotal::". It then uses those parameters to create SQL containing phrases such as
WHERE id = getTotal::
which is syntactically incorrect. It does not actually cause a problem as it is caught by an exception, but seems a rather pointless exercise.
Would be grateful for any explanation!
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
trnnid
New Member
Posts: 1
pred 1 rokom 2 mesiacmi - pred 1 rokom 1 mesiacom #10233
od trnnid
Odpoveď od trnnid na tému Trying to understand userIdItem code
It seems like you're working with generated code for an admin panel that handles data in a table. You've come across a function called userIdItem that appears to be used to construct SQL queries based on various parameters, and you've noticed that it generates syntactically incorrect SQL statements. While it doesn't cause a problem due to error handling, you find it puzzling and potentially unnecessary.
mybkexperience
The use of parameters like "::", "getstart::", "getPagination::", and "getTotal::" might be part of a debugging or tracing mechanism within the generated code. Such placeholders can help developers identify specific points in the code where data is being retrieved or manipulated.
The use of parameters like "::", "getstart::", "getPagination::", and "getTotal::" might be part of a debugging or tracing mechanism within the generated code. Such placeholders can help developers identify specific points in the code where data is being retrieved or manipulated.
Posledný krát upravené:pred 1 rokom 1 mesiacom trnnid
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Blackberry Joshua
New Member
Posts: 1
pred 9 mesiacmi 2 týždnami #10271
od Blackberry Joshua
Odpoveď od Blackberry Joshua na tému Adelaide Escorts
Embarking on an intimate journey with Adelaide Escorts can be an exhilarating exploration of desire and passion beyond the ordinary. For some, the allure of exploring forbidden desires is irresistible. Hot escorts provide a liberating space where individuals can indulge in their deepest fantasies, free from judgment and societal constraints. It's an opportunity where you can experience unbridled passion and moments of uninhibited pleasure. Female companions prioritize the well-being and comfort of their clients, ensuring a consensual and enjoyable experience for both parties. Open communication allows boundaries to be established and celebrated, creating a safe environment for exploration. au.oklute.com/escorts/adelaide/
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Čas vytvorenia stránky: 0.056 sekúnd