Search found 5 matches

Go to advanced search

by Lars Eirik
Thu Aug 08, 2013 8:26 pm
Forum: Issues
Topic: Execute a second DB query for each entry returned by a first query
Replies: 7
Views: 1244
 
Jump to post

Execute a second DB query for each entry returned by a first query

After some failed attempts and no response here, I gave this up. But now I thought I would give it another go. Anyone who can help me?

by Lars Eirik
Sun May 12, 2013 9:07 pm
Forum: Issues
Topic: Execute a second DB query for each entry returned by a first query
Replies: 7
Views: 1244
 
Jump to post

Execute a second DB query for each entry returned by a first query

Thanks. That sounds good. Now I have mapped the result of the first service to a local variable called 'result' and added a JS which iterates through the items in 'result' and fetches the rest of the data from the second collection. This works great. The problem now is, as you point out, to show the...
by Lars Eirik
Mon May 06, 2013 7:40 am
Forum: Issues
Topic: Execute a second DB query for each entry returned by a first query
Replies: 7
Views: 1244
 
Jump to post

Execute a second DB query for each entry returned by a first query

Yes, I figured that much. What I have tried so far is this: I have made a REST service which performs the first query. This returns a number of entries with multiple fields each, one of which is called 'Name_of_A', containing the name of the entry, and one which is called 'Ref_to_B', containing the ...
by Lars Eirik
Sun May 05, 2013 8:33 pm
Forum: Issues
Topic: Execute a second DB query for each entry returned by a first query
Replies: 7
Views: 1244
 
Jump to post

Execute a second DB query for each entry returned by a first query

I have a service which, upon accessing a given page, queries a collection in my database based on certain conditions, and the service returns a list of database entries (rows) as expected. One of the fields (columns) it returns is a pointer to an entry in another collection within my database. Now, ...
by Lars Eirik
Wed Jan 23, 2013 8:05 pm
Forum: Issues
Topic: Tiggzi database: How can i reference one collection from another
Replies: 4
Views: 735
 
Jump to post

Tiggzi database: How can i reference one collection from another

I have made a Tiggzi database, an in one of the collections I have made a column that is supposed to contain references to rows in another collection (i.e. it it should hold a "foreign key"). I guess that this column should be of type "Pointer", but what values should a field of ...

Go to advanced search