search

Home  >  Q&A  >  body text

python - connection.ops.date_trunc_sql() 方法详解

官网文档上没有找到详细的解释,谁举个例子帮忙解释下

巴扎黑巴扎黑2802 days ago886

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-18 10:10:15

    The question is so simple and hasty, leaving the difficulty to others.
    I hope you do the same. Install a development tool pycharm and click on the source code to see the explanation

    from django import db
    db.connection.ops.date_trunc_sql()
    

    reply
    0
  • Cancelreply