SQLDataConsumerMBS 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

SQLDataConsumerMBS 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 consumer.

If you query a clob/blob value, that value may not fit into memory, so you may prefer to get a callback for data and write it to a file 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.


SQLDatabaseMBS   -   SQLDataProviderMBS


💬 Ask a question or report a problem