Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QB doesn't like returntype = "struct" #221

Open
Daemach opened this issue Jun 24, 2022 · 2 comments
Open

QB doesn't like returntype = "struct" #221

Daemach opened this issue Jun 24, 2022 · 2 comments

Comments

@Daemach
Copy link
Contributor

Daemach commented Jun 24, 2022

Doesn't work:
// this.auditTables = qb.from('tables').get( options={ datasource: 'veritiAudit', returntype: 'struct', columnkey: 'name', cachedwithin: createTimespan(0,2,0,0) } )

Works:
this.auditTables = queryExecute("select * from tables",{},{ datasource: 'veritiAudit', returntype: 'struct', columnkey: 'name', cachedwithin: createTimespan(0,2,0,0) })
@elpete
Copy link
Collaborator

elpete commented Jan 11, 2023

I'm curious, does it work if you set the return format to query or this closure?

qb.setReturnFormat( function( q ) { return q; } );

@Daemach
Copy link
Contributor Author

Daemach commented Mar 14, 2023

No luck.

image

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

No branches or pull requests

2 participants