Raw SQL query in ATK

41 views
Skip to first unread message

Marty

unread,
Apr 7, 2014, 10:19:45 AM4/7/14
to agile-too...@googlegroups.com
Is there a way to run a "raw" sql query?


Lokesh Daiya

unread,
Apr 10, 2014, 3:11:21 AM4/10/14
to agile-toolkit-devel
yes try like this

$this->api->db->dsql()->expr('your query')->getOne();

Marty

unread,
Apr 10, 2014, 12:48:50 PM4/10/14
to agile-too...@googlegroups.com
Aha somehow I missend the getOne()
Thnx

Lokesh Daiya

unread,
Apr 11, 2014, 1:31:19 AM4/11/14
to agile-toolkit-devel
welcome :) :)



On Thu, Apr 10, 2014 at 10:18 PM, Marty <app...@gmail.com> wrote:
Aha somehow I missend the getOne()
Thnx

--
You received this message because you are subscribed to the Google Groups "Agile Toolkit Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agile-toolkit-d...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Romans Malinovskis

unread,
Jul 20, 2014, 4:01:32 PM7/20/14
to agile-too...@googlegroups.com
There are a number of interesting ways how to format a query, they are documented here:


Reply all
Reply to author
Forward
0 new messages