SQLDataProviderMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

SQLDataProviderMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class SQL MBS SQL Plugin 9.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The class for a data provider.

Use this to set a blob/clob object with streaming data. For example if you want to add a 1 GB big file to the database without loading it into RAM in one piece, you can use this class to read it in small chunks.

Constants

Constant Value Description
kFirstPiece 1 One of the piece type constants. The first piece is processed. You may setup everything you need to handle the data.
kLastPiece 3 One of the piece type constants. The last piece is processed. You can close files/network connections.
kNextPiece 2 One of the piece type constants. The next piece is processed. Not the first one or the last one, but one between.
kOnePiece 4 One of the piece type constants. The whole data stream is delivered in one call of the event.

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine


The items on this page are in the following plugins: MBS SQL Plugin.


SQLDataConsumerMBS   -   SQLDateTimeMBS


💬 Ask a question or report a problem