original_docstring: 
          implements the interval functionality for expressions
          
docstring: implements the interval functionality for expressions
docstring_tokens: implements the interval functionality for expressions
code: def date_interval_sql(self, timedelta):
          """
          implements the interval functionality for expressions
          """
          sec = timedelta.seconds + timedelta.days * 86400
          sql = 'DATEADD(second, %d%%s, CAST(%%s AS datetime2))' % sec
          if timedelta.microseconds:
              sql = 'DATEADD(microsecond, %d%%s, CAST(%s AS datetime2))' % (timedelta.microseconds, sql)
          return sql
code_tokens: def date_interval_sql ( self , timedelta ) : sec = timedelta . seconds + timedelta . days * 86400 sql = 'DATEADD(second, %d%%s, CAST(%%s AS datetime2))' % sec if timedelta . microseconds : sql = 'DATEADD(microsecond, %d%%s, CAST(%s AS datetime2))' % ( timedelta . microseconds , sql ) return sql
short_docstring: implements the interval functionality for expressions
short_docstring_tokens: implements the interval functionality for expressions
comment: """
          implements the interval functionality for expressions
          """