Comments (4)
It would at least be cool if you could try reproducing. Basically create a new model that you could in theory call joins(:new_table) with Users pipeline function call and ensure this is a regular model that is not a rails-plsql model and see if the alias issue is repeatable.
from rails-plsql.
Consider that in most cases using pipelined functions for filtering is not such effective as using plain views. Pipeline functions are more about using imperative logic for building datasets. That's why in my project I never had to join function result set with table/view.
Anyway, what version of Rails are you using?
from rails-plsql.
Ok might try just putting it in a view. 3.2.15 is the version I am using.
Thanks!
—
Dave
On Mon, Oct 27, 2014 at 5:16 PM, Nikita Shilnikov
[email protected] wrote:
Consider that in most cases using pipelined functions for filtering is not such affective as using plain views. Pipeline functions are more about using imperative logic for building datasets. That's why in my project I never had to join function result set with table/view.
Anyway, what version of Rails are you using?
Reply to this email directly or view it on GitHub:
#5 (comment)
from rails-plsql.
I really have no clue how we could even be using .joins(:modelSymbol) anyways. The whole idea of things like that is that the sql is just build using AREL. But since pipeline functions typically need a parameter passed, rails-plsql probably should not even support this. Since these all need to be bound for parameters on the pipeline functions. Maybe I need to use a raw SQL join of some kind and bind in the parameters that way inside the SQL.
I think I am going to try to join things via raw SQL and subselects.
from rails-plsql.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails-plsql.