Code Monkey home page Code Monkey logo

model's People

Contributors

klimser avatar meniam avatar ruspanzer avatar slkxmail avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

model's Issues

Bind an array to Cond

При добавлении в cond условия и передачи параметра-массива
->where('my_column IN (:column_values)', array(':column_values' => array('text1', 'text2', 'text3')))
запрос выполняется неправильно, а именно:
когда параметр отправляется в Model/Db/Mysql/prepareBindParams
то из массива формируется строка взятых в кавычки параметров через запятую:
'text1','text2','text3'
и после того как эту строку отправляем в sql-запрос, то она интерпретируется как:
WHERE my_column IN (''text1','text2','text3'')
и запрос работает неправильно

UPD: все описанное справедливо только для строкового массива, массив из int-ов работает нормально

Helpers

Не работают Helper-ы. В Mvc/View/View.php на строке 354 в helper передается view, но нужно туда передавать renderer, поэтому ничего не работает.

вопрос по litefm api

Добрый день Евгений,

Имею вопрос по litefm api

Contact information

If you have questions, send private message on GitHub to this people:

Eugene Myazin - ...

Remember our native language is Russian :)

не могу оформить тестовый запрос, помогите разобратся как вызвать любой метод из api.

на пример country.getList или delivery.getCountryList

пробовал

http://api.dev.litemf.com/v1/?key=ad21c47b3e9da590176dcf70a0512f55e3bfc74b&country.getList

http://api.dev.litemf.com/v1/?key=ad21c47b3e9da590176dcf70a0512f55e3bfc74b&country=getList

http://api.dev.litemf.com/v1/?key=ad21c47b3e9da590176dcf70a0512f55e3bfc74b&action=country.getList

http://api.dev.litemf.com/v1/?key=ad21c47b3e9da590176dcf70a0512f55e3bfc74b/country/getList

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.