abramadams / dao Goto Github PK
View Code? Open in Web Editor NEWA ColdFusion library for easy Data Access and Object Mapping
Home Page: http://abramadams.github.io/dao/
License: Apache License 2.0
A ColdFusion library for easy Data Access and Object Mapping
Home Page: http://abramadams.github.io/dao/
License: Apache License 2.0
hi @abramadams ,
linq.run()
returns absolutely nothing.
I debugged on dao.read()
and inserted a dump before the return (dump(LOCAL[arguments.name])
) and it returns the query result correctly.
it seems like a problem when the call to the linq.run()
function.
Could it be a problem with Lucee 5.3.8.206 version?
thanks,
Ivan
Looks like you've made some adjustments to the develop branch. Would it be ok to clone that branch to get those fixes? Any reason they weren't merged to master?
This seems like a very cool project and was going to try to pop it into my Coldbox application. Any reason not to? I saw your disclaimer, but it seems like for using the basic DAO stuff this will be very useful to allow me to write complex queries in script without all the oddities of ACF script queries.
Thanks!
Linq join syntax separator should be space not comma.
// build the query criteria
var query = request.dao.from( from="eventLog", joins=,joins=[
{
type="left",
table="table1"
columns="...",
on="..."
}, {
type="left",
table="table2",
columns="...",
on="..."
}]).run();
This throws an error
When using DAO.read() with a return type of "array" and the sql being executed includes columns from joined tables the returned array of structs does not contain all columns in the query. It only includes the Columns from the primary table (the "from" table).
This only happens in Adobe ColdFusion; Lucee does not experience the same issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.