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?
relationship one to many limit, filter.
You can't limit them at the moment
@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
<FileDropzone name="files" bind:files on:change={onChangeHandler}>
<svelte:fragment slot="lead"><i class="fa-solid fa-file-arrow-up text-4xl"></i></svelte:fragment>
<svelte:fragment slot="message">Drag & Drop your image here</svelte:fragment>
<svelte:fragment slot="meta">{image_name}</svelte:fragment>
</FileDropzone>
{#if image !== ""}
<img src="{image}" alt="test">
{/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();
},```
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.
Recommended threads
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- Inviting members while SMTP is disabled ...
Issue: https://github.com/appwrite/console/issues/3125 PR: https://github.com/appwrite/console/pull/3126