blob
NES2+Syntax
Core object is created with the blob.blobImage() and blob.blobLink() methods.
blob(path)
Description
BLOb data represents Binary Large Objects that can be stored in a database. This allows you to store various types of information, such as images, movie files, and sounds in the database. The blob implementation in server-side JavaScript has two different purposes, as shown in the syntax definition.
Note
Be sure to consult the documentation on your specific database to see if there are any limitations to BLOb data types.
The first instance is a core object that is created when you use the methods of this object. Table 8.1 has the methods of the blob object and a description of what they do when invoked.
Get Pure JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.