#i cant push

27 messages ยท Page 1 of 1 (latest)

frosty moss
#

when i use db.push("blacklist", "+31312") it working

#

but i wanna use "313121" style

hollow wing
#

Push only works on arrays nothing else

frosty moss
#

I want the output to be array

hollow wing
#

Yes now that it's deleted it will create it as an array since it's the first push

#

Before you deleted it

#

It was not an array

frosty moss
#

but its not a array

hollow wing
#

Now it is since you deleted and used push but before it wasn't

#

Use db.get("blacklist") and see for yourself

frosty moss
#

i think its not a array

hollow wing
# frosty moss

That is not normal. It may be a bug from the old version of quick.db you are using. Thought I cannot do anything about it because that version is no longer supported

frosty moss
#

but qdb.set cannot be found when I install new version ๐Ÿ˜„

hollow wing
frosty moss
#

How exactly has the set been modified?

#

is this usage wrong??

hollow wing
#

The whole library was rewritten. What set does hasn't been chabged at all. And not it isn't

#

But look at how you require and initialize the new version

frosty moss
#

okey u are right

#

good night

#

im sleeping now

#

u are best

#

thanks