onlyQuestionMark constant

PlaceholderIdentifier const onlyQuestionMark

The colon is the symbol ":" Example: "SELECT * FROM book WHERE title = :title AND code = :code" The question mark ? (also known as interrogation point) Example: "SELECT * FROM book WHERE title = ? AND code = ?" Note: You cannot enclose the question mark in quotation marks. incorrect '?' => correct ??

Implementation

//static const PlaceholderIdentifier colon = PlaceholderIdentifier(':');

// The question mark ? (also known as interrogation point)
//static const PlaceholderStyle questionMark = const PlaceholderStyle('?');

/// The question mark ? (also known as interrogation point)
/// Example: "SELECT * FROM book WHERE title = ? AND code = ?"
/// Note: You cannot enclose the question mark in quotation marks. incorrect '?' => correct ??
static const PlaceholderIdentifier onlyQuestionMark =
    PlaceholderIdentifier('?');