Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Blob as a Field

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
ernesttan1976
Posts: 51
Joined: Sat May 16, 2020 10:08 am

Blob as a Field

Unread post by ernesttan1976 »

Hi,

Does Nubuilder support Blob as a field type?
It would allow files to be stored inside Mysql instead of externally.

Ernest
apmuthu
Posts: 249
Joined: Sun Dec 06, 2020 6:50 am
Location: Chennai, India, Singapore

Re: Blob as a Field

Unread post by apmuthu »

The input:file is available in the FastForm Builder in nuBuilderForte.
You do not have the required permissions to view the files attached to this post.
ernesttan1976
Posts: 51
Joined: Sat May 16, 2020 10:08 am

Re: Blob as a Field

Unread post by ernesttan1976 »

Thanks Muthu, I will try it out
ernesttan1976
Posts: 51
Joined: Sat May 16, 2020 10:08 am

Re: Blob as a Field

Unread post by ernesttan1976 »

it doesn't let me save large pdf files like less than 3 MB even.
Tried largeblob, mediumblob, blob, all failed to save.
ernesttan1976
Posts: 51
Joined: Sat May 16, 2020 10:08 am

Re: Blob as a Field

Unread post by ernesttan1976 »

Files
nuBuilder Forte has an Upload File facility and an Input:File Object is to allow simple things like photos, pictures or logos.

Because files are converted to JSON it's not practical to use this as a general method for storing bigger files over 300 Kb.

As the conversion process can take a while.
kev1n
nuBuilder Team
Posts: 4299
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: Blob as a Field

Unread post by kev1n »

Unless someone has a better idea, you could first upload the file to the server
and in PHP AS,insert the file into a blob field.
ernesttan1976
Posts: 51
Joined: Sat May 16, 2020 10:08 am

Re: Blob as a Field

Unread post by ernesttan1976 »

thanks kevin, I will try
Post Reply