View source on GitHub |
Provides utility methods used by modules in the FTS API stub.
Classes
class UnsupportedOnDevError
: Indicates attempt to perform an action unsupported on the dev server.
Functions
AddFieldsToDocumentPb(...)
: Add the id and fields to document.
EpochTime(...)
: Returns millisecond epoch time for a date or datetime.
GetAllFieldInDocument(...)
: Find and return all fields with the provided name in the document.
GetFieldInDocument(...)
: Find and return the field with the provided name and type.
Repr(...)
: Generates an unambiguous representation for instance and ordered dict.
TreeRepr(...)
: Generate a string representation of an ANTLR parse tree for debugging.
Other Members | |
---|---|
BASE_DATE |
Instance of google.appengine.ext.db.DateTimeProperty.data_type
|
DEFAULT_MAX_SNIPPET_LENGTH |
160
|
EXPRESSION_RETURN_TYPE_NUMERIC |
2
|
EXPRESSION_RETURN_TYPE_TEXT |
1
|
NUMBER_DOCUMENT_FIELD_TYPES |
[4]
|
TEXT_DOCUMENT_FIELD_TYPES |
[2, 0, 1, 6, 7]
|
TEXT_QUERY_TYPES |
[13, 32]
|