-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fbxcall #17
base: master
Are you sure you want to change the base?
Fbxcall #17
Conversation
fbxosctrl.py
Outdated
str_replace = u'REPLACE' if replace else u'INSERT' | ||
fields = u'`id`, `type`, `datetime`, `number`, `name`, `duration`, `new`, `contact_id`,`src`' | ||
query = "%s INTO {} (%s) " % (str_replace, fields) | ||
print(query) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To delete
It is not clear to me the use case for FbxCall: it is never called anywhere. |
J'utilise fbxosctrl comme module. Je n'ai pas voulu modifier votre class FbxServiceCall, je fait une classe fille :
J'utilise la classe fille pour mettre à jour une base MySql, d'où les propriétés sql_replace ou sql_insert. |
|
Add class FbxCall with properties and sql query helper. Setter for new property.
Add class FbxCalls with get_by_id