⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Help me



allphoneso

allphoneso
  • profile picture
  • Member

Posted 08 July 2013 - 09:22 AM

Hello All,

 

I'm newbie

 

anybody can help me?

 

how to convert my query statement


allphoneso

allphoneso
  • profile picture
  • Member

Posted 08 July 2013 - 09:40 AM

Sorry missing posting

anybody can help me?
how to convert my queries statement


select mmt.ORG_ID, mmt.TRAN_ID, mil.DESC
from  MT_MAT_TRANS mmt , MT_ITEM_LOC mil
where mmt.ORG_ID=mil.ORG_ID
and mil.DESC is not null


How can I do this by the library??


heruprambadi

heruprambadi
  • profile picture
  • Member

Posted 09 July 2013 - 06:09 AM

please, read the documentation first.


allphoneso

allphoneso
  • profile picture
  • Member

Posted 09 July 2013 - 09:19 AM

hello heruprambadi,

 

i'm newbie with grocerycrud.

 

i still confused to implement statement query on controller.

 

can you help me?

 

thanks


davidoster

davidoster
  • profile picture
  • Member

Posted 09 July 2013 - 14:11 PM

Hello [member=allphoneso] and welcome to the forums.

Well except the need that you must read the documentations you need to know the following:

 

1. Grocery CRUD (Grocery CRUD) is an auto generator library for the framework CodeIginter (CI)

2. GC generates withing a very few lines of code a full blown administration system of your tables

3. GC doesn't give (at least for now) the ability to define your own custom sql queries

4. most of the things are accomplished via calling all ready made functions (this is why you need to read the documentation!)

 

Saying this let's convert your query to grocerycrudian language!!! (Hahahahaha I like this!!!)

 

Well you are using actually two tables. This can't be done on GC library.


alain

alain
  • profile picture
  • Member

Posted 09 July 2013 - 15:30 PM

Saying this let's convert your query to grocerycrudian language!!! (Hahahahaha I like this!!!)

 

lol

 

allphoneso > It's a CRUD generator, no need to know how the SQL works