Rank 3: Container
Is there a way to limit the amount of relationship items being returned and filter them by created time, to lets say return only 7 days of worth of items?
Votes
0
Replies
6
Participants
Unknown
Messages
7
Rank 3: Container
Is there a way to limit the amount of relationship items being returned and filter them by created time, to lets say return only 7 days of worth of items?
Rank 3: Container
relationship one to many limit, filter.
Admin
You can't limit them at the moment
Rank 3: Container
@Steven i've noticed interesting thing, if i upload an jpg/png, and request the transformed version, i get a webp just fine, but if i upload webp and request transformed version, i don't get a proper image back. ```html
<svelte:fragment slot="lead"></svelte:fragment>
<svelte:fragment slot="message">Drag & Drop your image here</svelte:fragment>
<svelte:fragment slot="meta">{image_name}</svelte:fragment>
{#if image !== ""}
{/if} js
uploadArticleImage: async (file: any) => {
const upload_image = await storage.createFile('images', ID.unique(), file);
return storage.getFilePreview(
'images',
upload_image.$id,
900, 500,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
'webp'
)
.toString();
},```
Rank 3: Container
Admin
this doesn't seem related to your original post. it would be best to create a separate post
[CLOSED] relationship one to many limit, filter.