How do I do a query loop and populate a repeater

@chidiejike
Can you show your DATABASE (or an excerpt of it) with the related DB-FIELDS?
Your code will not work, like that.

  1. First ERROR already in your first code-line…
arrayy = [a,b,c,d]

where did you define your → “arrayy” ???

a, b, c ← has been defined somewhere? If not → it should be → “a”, “b”, “c” as STRINGS!

  1. Second ERROR in second line …
$w("#datasetfill").onItemReady(($item,itemData,index=>{
	$item("#Title").text= itemData.title;
}

You are using code for DATASET, which was created for using for REPEATERS!
Or is → #datasetfill ← the ID of your REPEATER ???
Not logical & systematical coding-practise !

Without to observe the rest of your code, first show a screen of your DB and tell me what you want to achieve?