Comments (6)
We need to have nested attributes ...
University.all :load_attrs => [:name => true, :location => [:country => true, :city => true ]]
from goo.
Wouldn't this work?
University.all :load_attrs => [:name => true, :location => [:country, :city]]
Otherwise, I think you need this:
University.all :load_attrs => [:name => true, :location => {:country => true, :city => true}]
from goo.
from goo.
And optionals :(
University.all :load_attrs => [:name => true, :location => {:optional => true, :country => true, :city => :optional}]
from goo.
Preloading nested attributes will be implemented later. At the moment we prefer to keep the SPARQL queries simple and rely on highly successful caching to improve performance. If queries are simple the cache is likely to be have a higher successful ratio.
from goo.
It appears this has been sufficiently addressed. Closing.
from goo.
Related Issues (20)
- Implement backward-compatibility between 4store and AllegroGraph HOT 2
- AllegroGraph request chain breaks with existing Goo code HOT 1
- No parsed ontology records in AllegroGraph after ontology has been parsed HOT 1
- Paging call returns wrong results in AllegroGraph HOT 3
- SPARQL queries that return Integer 0 fail in AllegroGraph HOT 14
- enable authenticated connection to AllegroGraph
- Paging calls fail in AllegroGraph v7.0+ HOT 5
- Random query failures with AllegroGraph v7.0.1 HOT 7
- Upgrade rdf gem (RDF.rb library) to a more recent version
- Mapping query failure in AllegroGraph 7+ HOT 2
- Query error in AllegroGraph v7.1.0 rc1 HOT 3
- AllegroGraph v7.0.4 POST Error HOT 5
- The 4store status check API is broken HOT 1
- label creator n
- update addressable gem from v2.3.5 to 2.8+ HOT 1
- Allow configuration to be passed when running GOO tests
- add AllegroGraph backend for unit testing HOT 1
- investigate log entries generated in the AG container when running unit tests HOT 1
- SPARQL query yields different results in 4store and AllegroGraph (AG) HOT 5
- make the requirement of config/config.rb optional
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 goo.