dashpay / rs-platform Goto Github PK
View Code? Open in Web Editor NEWDash Platform (rust components)
License: MIT License
Dash Platform (rust components)
License: MIT License
Query would succeed or fail consistently regardless of orderBy
direction (asc
vs desc
).
The same query succeeds when the orderBy
direction is desc
and fails with the following error when the direction is asc
:
InvalidRequestError: Invalid query: path_queries can only refer to items and references
Edit: Upon further testing, it appears that this affects both <
and <=
operators for the specified query. The issue did not present itself when using >
or >=
operators for this query.
N/A
orderBy: [['records.dashUniqueIdentityId', 'desc']],
orderBy: [['records.dashUniqueIdentityId', 'asc']],
InvalidRequestError
errorclient.platform.documents.get(
'dpns.domain',
{
limit: 2,
where: [
['records.dashUniqueIdentityId', '<=', 'FETe2GxdRsAUj8Qoy3tsr6J822aupG5VYtetoYBgXt5P'],
],
orderBy: [['records.dashUniqueIdentityId', 'desc']],
},
);
Query should not return more records than the limit
In at least some situations it is possible to receive more than the expected limit of results. One case is demonstrated in the example below. The behavior is elicited simply by changing the orderBy
direction. The same query responds correctly when the orderBy
direction is asc
and returns excess results when the direction is desc
.
I only tried this with startAt
, but presume it affects startAfter
and possibly others.
N/A, but possibly related to #83 which also shows up depending on orderBy
. But really no idea ๐คทโโ๏ธ ๐
orderBy: [['normalizedLabel', 'asc']],
orderBy: [['normalizedLabel', 'desc']],
client.platform.documents.get(
'dpns.domain',
{
limit: 1,
startAt: Buffer.from(Identifier.from('4Qp3menV9QjE92hc3BzkUCusAmHLxh1AU6gsVsPF4L2q')),
where: [
['normalizedParentDomainName', '==', 'dash'],
['normalizedLabel', 'startsWith', 'RT-'.toLowerCase()],
],
orderBy: [['normalizedLabel', 'asc']],
},
)
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.