Skip to content
This repository has been archived by the owner on Nov 16, 2017. It is now read-only.

Ability to select raw queries and map to Class. #15

Open
stickupkid opened this issue Jun 19, 2012 · 1 comment
Open

Ability to select raw queries and map to Class. #15

stickupkid opened this issue Jun 19, 2012 · 1 comment
Assignees

Comments

@stickupkid
Copy link
Collaborator

Example...

var _query:String = "SELECT A.*, B.ROLENAME FORM USERS A, ROLES B WHERE A.USERID=1 AND A.ROLEID=B.ROLEID;";
var _stat:SpodStatement = new SpodStatement(UserVO);
 _stat.query = _query;
 _stat.completedSignal.addOnce(onQueryResult);
 _stat.errorSignal.addOnce(onQueryError);
 spodManager.executioner.add( new SpodStatementQueue(_stat) );
@ghost ghost assigned stickupkid Jun 20, 2012
@BrunoFenzl
Copy link

Thanks Simon! this is great... I noticed that when joining, the returned SpodObject (dynamic VO extending SpodObject) returns with mixed properties from the different VO´s I joined. A very nice "feature"!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants