Comments (2)
Ok, now it runs smoothly. Thank You!
from viur-core.
Hey,
your key is encoded as string (in the legacy representation). This is necessary to provide clients a suitable representation, but you cannot use this string representation for filtering directly in queries. They key of a relation is stored as Key-object in the datastore, therefore you have to filter with the same/equal key-object.
You can use from_legacy_urlsafe to decode the string:
query.filter("venue.dest.__key__", db.KeyClass.from_legacy_urlsafe("ahBydWhycG90dG1ldGFsbGVychILEgV2ZW51ZRiAgIDY2v2VCgw"))
Edit: __key__
is the correct property.
from viur-core.
Related Issues (20)
- PEP 257 Standards in DocStrings HOT 1
- Improve `update_relations=True` to be "more intelligent"
- Evaluate `AlloyDB (Postgre-SQL-based) ` as SQL-based mirror database
- Implement `MessagePack` renderer
- `BaseBone.isInvalid()` broken and incomplete HOT 1
- Check and rewrite viur-core "bones" documentation HOT 1
- Check and rewrite viur-core "prototypes" documentation
- Check Bone Doc Strings
- Clean out the auto-api errors and warnings HOT 1
- get rid of the catch all index behavior at least in api calls
- Extend `DateBone` to allow for time values with microseconds
- Implement more second factors
- Fix securitykey header
- SEO-Features not working properly with umlauts HOT 1
- Replace `str.replace`-cascades by `str.translate` calls
- `conf["viur.email.transport"]` with class instances for custom adapter configuration
- 2nd factor login wishlist HOT 1
- Derives for FileBones not working in RelSkels HOT 1
- Make the second factor selectable. A user should not be forced to use the first one. HOT 2
- Funny `skey=123` generates error 500
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 viur-core.